TimeSpinner

Extend from $.fn.spinner.defaults. Override defaults with $.fn.timespinner.defaults.

Dependencies

Usage

  1. <input id="ss" required="true" style="width:80px;">  
  1. $('#ss').timespinner({  
  2.     showSeconds:true  
  3. });  

Properties

The properties extend from spinner, below is the added properties for timespinner.

Name Type Description Default
separator string The separator between hour and minute and second. :
showSeconds boolean Defines if to show the second information. false
highlight number The field to highlight initially, 0 = hours, 1 = minutes, бн 0

Events

The events extend from spinner.

Methods

The methods extend from spinner, below is the overridden methods for timespinner.

Name Parameter Description
options none Return the options object.
setValue value Set the timespinner value.
getHours none Get the current hour value.
getMinutes none Get the current minute value.
getSeconds none Get the current second value.