1.0.1 • Published 2 years ago

vue-calendar-plus v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vue-calendar-plus

A vue component for calendar functions

Attributes

propsdescriptiontypeoptional valuedefault
value/v-model绑定值Array--
first-day-of-week周起始日Number1 到 77
mode模式:单选/多选/范围选择Stringsingle/multiple/rangesingle

dateCell scoped slot 参数

paramsdescriptiontypeoptional valuedefault
date单元格代表的日期Date--
data{ type, isSelected, day},type 表示该日期的所属月份,可选值有 prev-month,current-month,next-month;isSelected 标明该日期是否被选中;day 是格式化的日期,格式为 yyyy-MM-dd ObjectObject--