JQuery Easyui API Chinese document-Timespinner time spinner _jquery

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.