1.0.15 • Published 5 years ago
vue-calendar-custom v1.0.15
vue-calendar
使用
安装:
npm install vue-calendar-custom -S
引入:
import VueCalendarCustom from 'vue-calendar-custom';
Vue.use(VueCalendarCustom);
基本使用:
<vue-calendar-custom :datetime="new Date()"></vue-calendar-custom>
原型方法:
//将daysList的每个对象通过插槽插入 vue-calendar-custom中,具体查看demo工程
let daysList = this.$initCalendar(new Date());//返回上月、当月、下月天总数