Time Picker
The VTimePicker component allows users to select time using either a visual clock dial or input fields.Usage
API
Props
The selected time value. Can be a time string (HH:mm or HH:mm:ss) or Date object.
Time format. Options:
ampm (12-hour), 24hr (24-hour).Current view mode. Options:
hour, minute, second.AM/PM period for 12-hour format. Options:
am, pm.Display variant. Options:
dial, input.Enables second selection.
Disables the time picker.
Makes the time picker read-only.
Allows scrolling to select time values.
Title displayed in the picker.
Minimum selectable time.
Maximum selectable time.
Function or array to determine which hours are selectable.
Function or array to determine which minutes are selectable.
Function or array to determine which seconds are selectable.
Events
Emitted when the time value changes.
Emitted when the hour value changes.
Emitted when the minute value changes.
Emitted when the second value changes.
Emitted when the AM/PM period changes.
Emitted when the view mode changes.
Slots
title
Customize the title section.
actions
Add custom action buttons.