1.0.2 • Published 6 years ago
vue-simple-calendar-zh v1.0.2
vue-simple-calendar
simple calendar
Installation
NPM
npm install vue-simple-calendar-zh --save
import simpleCalendar from 'vue-simple-calendar-zh'
Vue.use(simpleCalendar);
Item | Value | Qty |
---|---|---|
:parentTime | 2017/11/11 | 'yyyy/MM/dd' |
@getQueryByDate | function name | function |
适用于vue2.0
注意是REM布局
,其他布局可能会失效。适配iphone6。
1、':parentTime' 默认显示的日期,String类型,也可以不传(默认当天),格式为yyyy/MM/dd
2、'@getQueryByDate' 点击后的回调方法(父组件定义)。返回点击的时间
初始化 init
点击 click
下一页 next
具体方法详情可查看目录中的index.html Configuration details
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.