VTimePickerControls API
name | type | default |
|---|---|---|
number[] | ((val: number) => boolean) | undefined | |
Restricts which hours can be selected. Can be an array of allowed hours, a function that returns true for allowed hours, or an object with | ||
number[] | ((val: number) => boolean) | undefined | |
Restricts which minutes can be selected. Can be an array of allowed minutes, a function that returns true for allowed minutes, or an object with | ||
number[] | ((val: number) => boolean) | undefined | |
Restricts which seconds can be selected. Can be an array of allowed seconds, a function that returns true for allowed seconds, or an object with | ||
boolean
| false | |
Enables AM/PM mode. | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
boolean
| false | |
Removes the ability to click or target the component. | ||
string | number | undefined | |
The current hour value. | ||
boolean
| false | |
Displays labels below the time input controls. | ||
string
| undefined | |
Maximum allowed time. | ||
string
| undefined | |
Minimum allowed time. | ||
string | number | undefined | |
The current minute value. | ||
'am' | 'pm' | undefined | |
The current period value. either | ||
boolean
| false | |
Makes the timepicker readonly. | ||
string | number | undefined | |
The current second value. | ||
boolean
| false | |
Enables the display and selection of seconds in the timepicker. | ||
number
| undefined | |
The current value of the timepicker. | ||
'hour' | 'minute' | 'second' | undefined | |
The current view mode of the timepicker. Can be either | ||
name | type | |
|---|---|---|
[number] | ||
Emitted when the hour value changes. | ||
[number] | ||
Emitted when the minute value changes. | ||
['am' | 'pm'] | ||
Emitted when the period is changed. The event payload is either | ||
[number] | ||
Emitted when the second value changes. | ||
['hour' | 'minute' | 'second'] | ||
Emitted when the view mode is changed. The event payload is either | ||
The default Vue slot. | ||