TimePickerProps
Represents the props of the Kendo UI for Vue TimePicker component.
Definition
Package:@progress/kendo-vue-dateinputs
Properties
ariaDescribedBy?
string
Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.
ariaLabelledBy?
string
Identifies the element(s) which will label the component.
cancelButton?
boolean
Determines whether to display the Cancel button in the popup.
dateInput?
any
Enables the customization or the override of the default DateInput which is rendered by the TimePicker (see example).
defaultShow?
boolean
Sets the default state of the popup upon render (see example).
defaultValue?
Date
Sets the default value of the TimePicker (see example).
disabled?
boolean
Determines whether the TimePicker is disabled (see example).
fillMode?
string
Configures the fillMode of the TimeInput.
The available options are:
- solid
- outline
- flat
- link
- null—Does not set a fillMode
class.
solid
format?
string | DateFormatOptions
Specifies the date format that is used to display the input value (see example).
Defines the descriptions of the format sections in the input field (see example).
id?
string
Specifies the id of the TimePicker.
inputAttributes?
Object
Sets the built-in HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
label?
string
Renders a floating label for the TimePicker.
max?
Date
Specifies the greatest valid time (see example).
min?
Date
Specifies the smallest valid time (see example).
name?
string
Specifies the name property of the input DOM element.
nowButton?
boolean
Determines whether to display the Now button in the popup.
If the current time is out of range or the incremental step is greater than
1, the Now button will be hidden.
onBlur?
(event: any) => void
Fires each time any of the TimePicker elements gets blurred.
onChange?
(event: TimePickerChangeEvent) => void
Fires each time the user selects a new value (see example).
onFocus?
(event: any) => void
Fires each time the user focuses any of the TimePicker elements.
onIconclick?
(event: any) => void
Fires when the icon element is clicked.
placeholder?
string
Specifies the value of the placeholder.
popup?
any
Enables the customization or the override of the default Popup which is rendered by the TimePicker (see example).
Configures the popup options of the TimePicker.
The available options are:
animate: Boolean—Controls the popup animation. By default, the open and close animations are enabled.appendTo:— Defines the container to which the Popup will be appended. Defaults tobody.popupClass: String—Specifies a list of CSS classes that are used to style the popup.
required?
boolean
Specifies if null is a valid value for the component.
rounded?
string
Configures the roundness of the TimeInput.
The available options are:
- small
- medium
- large
- circle
- full
- null—Does not set a rounded
class.
medium
show?
boolean
Specifies if a time selector will be displayed (see example).
size?
"small" | "medium" | "large"
Configures the size of the TimeInput.
The available options are:
- small
- medium
- large
- null—Does not set a size
class.
medium
smoothScroll?
boolean
Toggles the smooth scroll animation on time click. By default, the animation is enabled.
Configures the incremental steps of the TimePicker (see example).
If the incremental step is greater than
1, the Now button will be hidden.
tabIndex?
number
Sets the tabIndex property of the TimePicker.
title?
string
Sets the title of the input element of the TimePicker.
valid?
boolean
Overrides the validity state of the component.
If valid is set, the required property will be ignored.
validate?
boolean
Specifies the validate of the TimePicker.
validationMessage?
string
Controls the form error message of the component. If set to an empty string, no error will be thrown.
validityStyles?
boolean
If set to false, no visual representation of the invalid state of the component will be applied.
value?
Date
Specifies the value of the TimePicker (see example).
The
valuehas to be a valid JavaScriptDateinstance.
width?
string | number
Specifies the width of the TimePicker.