Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timePicker 插件 #109

Open
mishe opened this issue Apr 15, 2016 · 0 comments
Open

timePicker 插件 #109

mishe opened this issue Apr 15, 2016 · 0 comments

Comments

@mishe
Copy link
Owner

mishe commented Apr 15, 2016

timePicker

timePicker

时间选择器,提供自定义日期列表和可选的时间范围,单位小时

参数1 ,json对象

  • startDate: 开始时间
  • days: 可选日期的范围(>开始时间) 整数
  • timeRange: 时间的区间 字符串:'10-21',
  • sp: 最终显示的时间格式:'/'
  • changeDay: 日期变动后的回调

参数2,回调函数

当用户关闭选择框,选择确认时间,触发回调函数

执行后的返回值 timePicker对象

  • getDay() 返回选择的日期
  • getTime() 返回用户选择的时间
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant