Vue Date Dropdown
A Vue date dropdown component
Contents
Installing
npm install vue-date-dropdown --save yarn add vue-date-dropdown
... components: DateDropdown { return selectedDate: '' ... } ...
Or if you are using CDN version
<script src="vue-date-dropdown.min.js"></script> <script>Vue ... { return selectedDate: '' ... } ...;<script>
Examples
See the demo in the example folder.
Setting a default date
Setting a min date
Setting a max date
Setting a range of dates
Setting Russian names of months
API
Props
Name | Type | Description |
---|---|---|
default | String | Set default date. |
min | String | Limits the year to a minimum specified value. |
max | String | Limits the year to a maximum specified value. |
months-names | String | The alternative names of month. |