vue-datepicker-m
Manual
props
- highlighted
- disabled
- date
- lang, support 'en' - english, 'cn' - chinese, 'jp' - japanese
attentions:
- date format in highlighted and disabled must be as 'yyyy-MM-dd', for example, '2018-01-01'
- date must be as 'yyyy-MM-dd'
events
- change: pass Date object as params
- close
components: DatePicker { return showView: true disabled: from: '2018-03-03' to: '1990-01-01' highlighted: from: '2017-10-10' to: '2017-10-25' date: '2017-12-11' '2017-12-14' '2017-12-19' }methods: { thisshowView = false } { // d is a Date object }
A Vue.js project
Build Setup
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build
For detailed explanation on how things work, consult the docs for vue-loader.