TimePickerComponent
Represents the Kendo UI TimePicker component for Angular.
Selector
kendo-timepicker
Export Name
Accessible in templates as #kendoTimePickerInstance="kendo-timepicker"
Inputs
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
cancelButton | boolean | Determines whether to display the Cancel button in the popup. | |
disabled | boolean | Sets or gets the | |
format | string | Specifies the time format that is used to display the input value (see example). | |
formatPlaceholder | Defines the descriptions of the format sections in the input field. For more information, refer to the article on placeholders.
| ||
incompleteDateValidation | boolean | Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated. | |
nowButton | boolean | Determines whether to display the Now button in the popup.
| |
placeholder | string | Specifies the hint the TimePicker displays when its value is
| |
rangeValidation | boolean | Determines whether the built-in min or max validators are enforced when a form is being validated. | |
readOnlyInput | boolean | Sets the read-only state of the TimePicker input field (see example).
| |
readonly | boolean | Sets the read-only state of the TimePicker (see example). | |
tabindex | number | Sets or gets the | |
title | string | Sets the title of the input element of the TimePicker. | |
fillMode | Sets the fillMode of the component. The possible values are:
| ||
max | Date | Specifies the biggest valid time value (see example). | |
min | Date | Specifies the smallest valid time value (see example). | |
popupSettings | Configures the popup of the TimePicker. The available options are:
| ||
rounded | Sets the border radius of the component. The possible values are:
| ||
size | Sets the size of the component. The possible values are:
| ||
steps | Configures the incremental steps of the TimePicker. For more information, refer to the article on incremental steps.
| ||
value | Date | Specifies the value of the TimePicker component. |
Fields
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
isOpen | boolean | Returns the current open state of the popup. |
Events
NAME | TYPE | DESCRIPTION |
---|---|---|
close | Fires each time the popup is about to close. This event is preventable. If you cancel the event, the popup will remain open. For more information, refer to the section on events. | |
blur | EventEmitter<any> | Fires each time the input element gets blurred. For more information, refer to the section on events.
|
focus | EventEmitter<any> | Fires each time the user focuses the input element. For more information, refer to the section on events.
|
open | Fires each time the popup is about to open. This event is preventable. If you cancel the event, the popup will remain closed. For more information, refer to the section on events. | |
valueChange | EventEmitter<Date> | Fires each time the user selects a new value. For more information, refer to the section on events. |
Methods
blur |
---|
Blurs the TimePicker component. |
focus |
---|
Focuses the TimePicker component.
|
toggle | ||
---|---|---|
Toggles the visibility of the popup. If you use the |
Parameters | ||
---|---|---|
show? | boolean | The state of the popup. |