0.1.18 • Published 1 year ago

calendar2vue v0.1.18

Weekly downloads
-
License
GPL
Repository
-
Last release
1 year ago
-UIN Project Coder @Yang Guifang

1.如何使用?

  • 第一步: 安装

    npm i calendar2vue

  • 第二步: 引用

    在你的项目中 (或许是 main.js )

    import calendar2vue from 'calendar2vue'
    //引入样式表文件
    import 'calendar2vue/dist/main.css'
    
    
    Vue.use('calendar2vue')

2.Props

属性说明类型可选值默认值
lang语言StringZH_CNZH_CN
year展示年份String/Number-当前年份
month展示月份String/Number-当前月份
weekStart一周开始的起始NumberInt(0~7)0
beforeMonthRow展示上个月的行数Number-0
afterMonthRow展示下个月的行数Number-0
currentDate当前日期String/Object/Date当前日期
multiple是否多选Boolean/Numbertrue/false/Intfalse
currentActive当前日期默认选中Booleantrue/falsetrue

3.Events

事件名说明参数
click选中日期触发Object : data
clickAfterMonth选中下一月日期触发Object : data
clickBeforeMonth选中上一月日期触发Object : data

4.Methods

方法名说明参数
toDate跳转到指定日期date
toCurrentDate跳转到当前日期-
0.1.18

1 year ago

0.1.17

3 years ago

0.1.16

3 years ago

0.1.14

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago