Extended from $.fn.spinner.defaults, rewrite defaults with $.fn.timespinner.defaults.
Depend on
Spinner
Usage
Copy Code code as follows:
<input id= "ss" Required= "true" style= "width:80px;" >
Copy Code code as follows:
$ (' #ss '). Timespinner ({
Showseconds:true
});
attribute !--? Xml:namespace PREFIX = O/-->
its features extend from spinner , the following is for timespinner added feature.
name |
type |
description |
default |
separator |
string |
time between seconds 。 |
: |
Showseconds |
Boolean |
Defines whether to display information for seconds. |
False |
Highlight |
Number |
Initially highlighted field, 0 = when, 1 = minutes, ... |
0 |
Event
Its events are extended from spinner.
Method
its method extends from spinner , the following is for timespinner the method of rewriting.
name |
parameters |
Digital |
options |
none |
back to Options object. /span> |
setvalue |
value |
set Timespinner . |
gethours |
none |
get the value of the current clock. |
getminutes |
none |
Gets the value of the current minute. |
Getseconds |
None |
Gets the value of the current second. |
Blog Park Merry Runny nose