2pv-vue-bulma-datepicker

1.3.14 • Public • Published

Datepicker

Datepicker component is based on flatpickr for Vue Bulma. Forked from vue-bulma-datepicker in order to implement reinitialisation for locale changes on the fly.

Installation

npm install 2pv-vue-bulma-datepicker --save

Examples

Single Input

<template>
  <datepicker placeholder="European Format ('d-m-Y')" :config="{ dateFormat: 'd-m-Y', static: true }"></datepicker>
</template>
 
<script>
import Datepicker from '2pv-vue-bulma-datepicker'
 
export default {
  components: {
    Datepicker
  }
}
</script> 

Wrap Input

<template>
  <datepicker :config="{ wrap: true }" readonly>
    <a class="button" data-toggle><i class="fa fa-calendar"></i></a>
    <a class="button" data-clear><i class="fa fa-close"></i></a>
  </datepicker>
</template>
 
<script>
import Datepicker from '2pv-vue-bulma-datepicker'
 
export default {
  components: {
    Datepicker
  }
}
</script> 

Badges

license-state status

Package Sidebar

Install

npm i 2pv-vue-bulma-datepicker

Weekly Downloads

35

Version

1.3.14

License

MIT

Unpacked Size

7.31 kB

Total Files

9

Last publish

Collaborators

  • julbra
  • matt2pv
  • sambotalpha