Timepicker API overview
Methods
| Name | Description |
|---|---|
| clear() | clears the value set in the timepicker |
| destructor() | removes a timepicker instance and releases occupied resources |
| getValue() | returns the current value of a TimePicker |
| paint() | repaints a timepicker on a page |
| setValue() | sets value for a TimePicker |
Events
| Name | Description |
|---|---|
| afterApply | fires after saving the timepicker value |
| afterClose | fires after closing the timepicker |
| beforeApply | fires before saving the timepicker value |
| beforeChange | fires before change of the timepicker value |
| beforeClose | fires before closing the timepicker |
| change | fires on change of the timepicker value |
Properties
| Name | Description |
|---|---|
| controls | Optional. Defines whether a timepicker is equipped with the Close and Save buttons |
| css | Optional. Adds style classes to TimePicker |
| timeFormat | Optional. Defines what clock format is activated: the 12-hour or 24-hour one |
| value | Optional. The time value to be set on initialization of the timepicker |
| valueFormat | Optional. Defines the format of the value to be applied when working with TimePicker events |