Home  >  Article  >  Web Front-end  >  jQuery EasyUI API Chinese documentation - TimeSpinner time spinner_jquery

jQuery EasyUI API Chinese documentation - TimeSpinner time spinner_jquery

WBOY
WBOYOriginal
2016-05-16 18:00:291110browse

Extends from $.fn.spinner.defaults, overriding defaults with $.fn.timespinner.defaults.
jQuery EasyUI API Chinese documentation - TimeSpinner time spinner_jquery
Dependency
spinner
Usage

Copy code The code is as follows:



Copy the code The code is as follows:

$('#ss').timespinner({
showSeconds:true
});

特性

其特性扩展自 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

Get the current minute value.

getSeconds

none

Get the current value of seconds.


Blog Garden Windy and tearful
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn