简体   繁体   English

在Jquery Mobile中将自定义时间值用于翻转框(日期框)

[英]Using custom time values for flipbox (datebox) in Jquery Mobile

I am using timeflipbox (datebox) for a mobile website based on JQuery Mobile. 我正在将timeflipbox(日期框)用于基于JQuery Mobile的移动网站。

Here's a screenshot: 这是屏幕截图:

1个

In the minutes column, I want just the values 00 15 30 and 45 instead of all the numbers from 0 to 60. 在分钟列中,我只希望值00 15 30和45,而不是从0到60的所有数字。

Can you help me with this customization? 您可以帮我进行此自定义吗?

Thanks. 谢谢。

Check section Date Limiting Options in documentation: 检查文档中的“ Date Limiting Options部分:

http://dev.jtsage.com/jQM-DateBox/demos/fullopt.html http://dev.jtsage.com/jQM-DateBox/demos/fullopt.html

You'll need to set minuteStep: 15 option. 您需要设置minuteStep: 15选项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM