Skip to content

CalendarView-DEMO


vue
<fv-CalendarView></fv-CalendarView>

CalendarView Multiple Choose


vue
<fv-CalendarView multiple="multiple" lan="zh"></fv-CalendarView>

CalendarView Init Day


vue
<fv-CalendarView :value="value" multiple="multiple" lan="zh"></fv-CalendarView>

CalendarView Range Choose


vue
<fv-CalendarView multiple="range"></fv-CalendarView>

CalendarView Dark Theme


vue
<fv-CalendarView theme="dark"></fv-CalendarView>

Propoties


属性(attr)类型(type)必填(required)默认值(default)说明(statement)
value[date]NoCurrentDate
startNumberNo1900Minium Year.
endNumberNo3000Maxium Year.
multiple['single','multiple','range']Nosingle
lan['en','zh']NoenCalendarView language.
themeStringNosystem主题样式, 包含light, dark, system, custom几种样式

Events


事件名(Name)参数类型(args)说明(statement)
choose-yearstring选择年份后返回年份
choose-monthstring选择月份后返回月份
choose-datedate选择日期后返回日期
choosen-datesarray选择多个日期后返回日期数组, 类型为[{year,month,no}]

MIT Licensed