vue-birth-datepicker
v0.2.8
Published
Date picker for distant dates, such as birthday. Just three clicks to choose any month and day 20 or 50 years ago.
Downloads
901
Maintainers
Readme
vueBirthDatepicker
Date picker for distant dates, such as birthday. Just three clicks to choose any month and day 20 or 50 years ago.
DEMO
Istallation
npm i vue-birth-datepicker --S
Inclusion to app
Import ES6
import birthDatepicker from 'vue-birth-datepicker';
// include 'vue-birth-datepicker/dist/vueBirthDatepicker.css' into your styles
Import .vue single file component
import birthDatepicker from 'vue-birth-datepicker/src/birth-datepicker';
// if substitution is working:
import birthDatepicker from 'vue-birth-datepicker/vue';
Don't need to include styles separately in this case. Vue-loader and scss loader required in you build system.
Browser
<script src="https://unpkg.com/vue"></script>
<script src="./vueBirthDatepicker.umd.js"></script>
<link rel="stylesheet" href="./vueBirthDatepicker.css">
Usage
<birth-datepicker v-model="date" />
Attributes
Configure datepicker look and behaviour with attributes