Badis Merabet 3adab3d6e8 Avoid a Bug.
ERROR in static/js/vendor.3b50e71988487b78d4c5.js from UglifyJs
Unexpected token: punc ()) [./~/vue-bulma-datepicker/src/BasicInput.js:9,0][static/js/vendor.3b50e71988487b78d4c5.js:10613,16]
2017-07-31 18:23:57 +08:00
2017-07-31 18:23:57 +08:00
2016-07-14 02:22:53 +08:00
2016-07-14 23:58:56 +08:00
2017-06-03 11:32:23 +08:00
2016-12-17 16:27:04 +08:00

Datepicker

Datepicker component is based on flatpickr for Vue Bulma.

Installation

$ npm install 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 '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 'vue-bulma-datepicker'

export default {
  components: {
    Datepicker
  }
}
</script>

Badges

Description
No description provided
Readme MIT 75 KiB
Languages
Vue 85.6%
JavaScript 14.4%