TimeSpinner
Extend from $.fn.spinner.defaults. Override defaults with $.fn.timespinner.defaults.
Dependencies
- spinner
Usage
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. |