扩展自 $.fn.spinner.defaults,用 $.fn.timespinner.defaults 重写了 defaults。
依赖
spinner
用法
特性
其特性扩展自 spinner,下列是为 timespinner 增加的特性。.
名称 |
类型 |
说明 |
默认值 |
separator |
string |
时分秒之间的分隔符。 |
: |
showSeconds |
boolean |
定义是否显示秒的信息。 |
false |
highlight |
number |
初期高亮的域, 0 = 时, 1 = 分, …… |
0 |
事件
其事件扩展自 spinner。
方法
其方法扩展自 spinner,下列是为 timespinner 重写的方法。
名称 |
参数 |
数码 |
options |
none |
返回 options 对象。 |
setValue |
value |
设置 timespinner 的值。 |
getHours |
none |
获取当前的时钟的值。 |
getMinutes |
none |
获取当前的分钟的值。 |
getSeconds |
none |
获取当前的秒钟的值。 |
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号