vue2-datepicker-jquery
A JQuery Datepicker Component For Vue2
Demo
https://kravtsovartem.github.io/vue2-datepicker-jquery/
Install
$ npm install vue2-datepicker-jquery jquery jquery-ui-dist --save
Usage
main.js
...window$ = windowJQuery = // Or npm i jquery-ui And require('jquery-ui/ui/widgets/datepicker') (more small bundle)...
App.vue
..or CDN..
Theme
Rewriting jquery-ui.css
Internationalization
Props
Prop | Description | Type | Default |
---|---|---|---|
value | '20.12.2020' | String |
'date' |
locale | localization: ru, en | String |
'en' |
options | https://api.jqueryui.com/datepicker/ | String |
{} |
Events
Name | Description | Callback Arguments |
---|---|---|
input | When the value change(v-model event) | date |
Copyright (c) 2020-present kravtsovartem