0.1.18 • Published 4 months ago

calendar2vue v0.1.18

Weekly downloads
-
License
GPL
Repository
-
Last release
4 months 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

4 months ago

0.1.17

2 years ago

0.1.16

2 years ago

0.1.14

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago