Datepicker Component for Vue Bulma
Clone or download
Permalink
Failed to load latest commit information.
src Fix #45 Aug 7, 2017
.gitignore Datepicker Jul 13, 2016
LICENSE LICENSE Jul 14, 2016
README.md doc: update Dec 17, 2016
package.json Bump v1.3.6 Aug 7, 2017
yarn.lock deps: flatpickr v2.6.3, vue-click-outside v1.0.6 Aug 7, 2017

README.md

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