vue-calendar
没什么用的移动端日历,支持左右滑动,支持缩小显示周日历,自己看demo呗。
使用方式
# bash:npm i vue2-mobile-calendar --save
// *.js:// *.vue:components:vueCalendar
<!-- html: -->
参数
不支持低版本浏览器,懒得适配
highlight:type: Stringdefault: '#000'selectcolor:type: Stringdefault: '#000'weekstart:type: Numberdefault: 7selectdate:type: Date String{return}callback:type: Function{return {}}open:type: Booleandefault: false
Build Setup
Requires Node.js 7+
# install dependenciesnpm install# serve with hot reload at localhost:8080npm run dev# build for production with minificationnpm run build
License
MIT