vue-calendar-small
v0.0.2
Published
## 安装 ``` npm install vue-calendar-small --save ```
Downloads
21
Readme
vue-calendar-simple
安装
npm install vue-calendar-small --save
全局引入
import Vue from 'vue'
import VueCalendarSamll from 'vue-calendar-small'
Vue.use(VueCalendarSamll)
组件引入
import Vue from 'vue'
import { VueCalendarSamll } from 'vue-calendar-small'
export default {
components: {
VueCalendarSamll
}
}
属性
interval 防止连续点击间隔的毫秒数
事件
handleCalendar 选择日期(初始化时会执行一次)
handleChangeMonth 切换月份(初始化时会执行一次)