1.0.0 • Published 8 years ago
zhu-date-picker v1.0.0
zhu-date-picker
zhu-date-picker组件 是一个vue2移动端时间选择器
install use Setup
# install dependencies
npm install zhu-date-picker -s
# use zhu-date-picker
参数|参数说明
:----|:-----:
value|初始化日期,默认为当前年月日
title|标题,默认为‘请选择’
type|‘date’选择日期,‘time’选择时间,‘datetime’选择日期+时间,‘year’选择年份,‘yearmonth’选择年月,默认为‘date’
endYear|结束的年份,默认为今年
startYear|开始的年份,默认为1900
change|接受一个函数,打印当前滑动到年月日
Welcome to use zhu-date-pick.
1.0.0
8 years ago