TimePicker

Extend from $.fn.combo.defaults. Override defaults with $.fn.timepicker.defaults.

Dependencies

  • combo

Usage Example

Create timepicker from markup.

Create timepicker using javascript.

Properties

The properties extend from combo, below is the added properties for timepicker.

Name Type Description Default
closeText string The text to display for the close button. Close
okText string The text to display for the ok button. Ok
value string The default value.
ampm array The labels for AM and PM buttons. ['am','pm']

Events

The events extend from combo.

Methods

The methods extend from combo, below is the added methods for timepicker.

Name Parameter Description
options none Return the options object.
getValue none Get the component value.
setValue value Set the component value.
reset none Reset the component value.