TimePicker

Example

Razor
<kendo-timepicker>
    <animation></animation>
    <interval-settings></interval-settings>
    <label />
    <messages />
    <popup></popup>
</kendo-timepicker>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
forModelExpressionAn expression to be evaluated against the current model.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
adaptive-modeAdaptiveModeSpecifies the adaptive rendering of the component.
as-moduleBoolean
auto-adjustBooleanIf this property is enabled and you have configured min and/or max values, and the user enters a value that falls out of that range, the value will automatically be set to either the minimum or maximum allowed value. This property has effect only when the dateInput of the component is enabled.
auto-correct-partsBooleanSets a value that indicates whether to automatically correct the segment when out of range. In order to work, dateInput prop should be set to true.
component-typeStringSpecifies the component type of the widget. "classic" - Uses the standard rendering of the widget. or "modern" - Uses new rendering with a fresh and modern look and feel..
cultureStringSpecifies the culture info used by the widget.
date-inputBooleanSpecifies if the TimePicker will use DateInput for editing value
datesDateTime[]Specifies a list of dates, which are shown in the time drop-down list. If not set, the TimePicker will auto-generate the available times.
fill-modeFillModeSets a value controlling how the color is applied.
focus-timeDateTimeSpecifies a time that will be focused inside the popup when opened.
formatStringSpecifies the format, which is used to format the value of the TimePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting.
has-client-componentBoolean
input-modeStringSpecifies the inputmode attribute of the inner <input /> element. It is used to specify the type of on-screen keyboard that should be displayed when the user focuses the input.
intervalInt32Specifies the interval between values in the popup list. When the componentType is set to classic, the interval is specified in minutes (numeric values). or When the componentType is set to modern, the interval is specified as an object of hours, minutes and seconds..
maxDateTimeSpecifies the end value in the popup list.
minDateTimeSpecifies the start value in the popup list.
on-changeStringFires when the selected date is changed
on-closeStringFires when the time drop-down list is closed
on-openStringFires when the time drop-down list is opened
parse-formatsString[]Specifies the formats, which are used to parse the value set with the value method or by direct input. If not set the value of the options.format will be used. Note that value of the format option is always used.
roundedRoundedSets a value controlling the border radius.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
sizeComponentSizeSets the size of the component.
valueObjectSpecifies the selected date.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support