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 |
---|---|---|---|
adaptiveMode |
|
Enables or disables the adaptive mode. By default the adaptive rendering is disabled. | |
allowCaretMode |
|
|
Determines if the users should see a blinking caret inside the Date Input when possible. |
autoSwitchKeys |
|
A string array representing custom keys, which will move the focus to the next date format segment. | |
autoSwitchParts |
|
|
Determines whether to automatically move to the next segment after the user completes the current one. |
cancelButton |
|
Determines whether to display the Cancel button in the popup. | |
clearButton |
|
|
If set to |
disabled |
|
Sets or gets the | |
enableMouseWheel |
|
|
Indicates whether the mouse scroll can be used to increase/decrease the time segments values. |
fillMode |
|
Sets the fillMode of the component. The possible values are:
| |
format |
|
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. ts
| |
incompleteDateValidation |
|
Determines whether the built-in validation for incomplete dates is to be enforced when a form is being validated. | |
inputAttributes |
|
Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed. | |
max |
|
Specifies the biggest valid time value (see example). | |
min |
|
Specifies the smallest valid time value (see example). | |
nowButton |
|
Determines whether to display the Now button in the popup.
| |
placeholder |
|
Specifies the hint the TimePicker displays when its value is ts
| |
popupSettings |
|
Configures the popup of the TimePicker. The available options are:
| |
rangeValidation |
|
Determines whether the built-in min or max validators are enforced when a form is being validated. | |
readonly |
|
|
Sets the read-only state of the TimePicker (see example). |
readOnlyInput |
|
Sets the read-only state of the TimePicker input field (see example).
the input will be rendered in a read-only state regardless of the | |
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.
ts
| |
subtitle |
|
Sets the subtitle text rendered in the header of the popup(action sheet).
Applicable only when | |
tabindex |
|
Sets or gets the | |
title |
|
Sets the title of the input element of the TimePicker and the title text rendered
in the header of the popup(action sheet). Applicable only when | |
value |
|
Specifies the value of the TimePicker component.
|
Fields
Name | Type | Default | Description |
---|---|---|---|
isOpen |
|
Indicates whether the component is currently open. That is when the popup or actionSheet is open. |
Events
Name | Type | Description |
---|---|---|
close |
|
Fires each time the popup is about to close (see example). This event is preventable. If you cancel the event, the popup will remain open. |
blur |
|
Fires each time the input element gets blurred (see example). |
focus |
|
Fires each time the user focuses the input element (see example). |
open |
|
Fires each time the popup is about to open (see example). This event is preventable. If you cancel the event, the popup will remain closed. |
valueChange |
|
Fires each time the user selects a new value (see example). |
Methods
blur |
---|
Blurs the TimePicker component. |
focus |
---|
Focuses the TimePicker component. ts
|
toggle | ||||||
---|---|---|---|---|---|---|
Toggles the visibility of the popup or actionSheet.
If you use the | ||||||
|