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 |
beforeClose | fires before closing the timepicker |
change | fires on change of the timepicker value |
Properties
Name | Description |
---|---|
controls | defines whether a timepicker is equipped with the Close and Save buttons |
css | adds style classes to TimePicker |
timeFormat | defines what clock format is activated: the 12-hour or 24-hour one |
value | the time value to be set on initialization of the timepicker |
valueFormat | defines the format of the value to be applied when working with TimePicker events |