Time picker
The v-time-picker
is stand-alone component that can be utilized in many existing Vuetify components. It offers the user a visual representation for selecting the time.
API
Components.TimePickers.
Components.TimePickers.
Components.TimePickers.
将指定的色彩应用与控件
应用暗黑主题变体
Components.TimePickers.
Components.TimePickers.
Forces 100% width
定义标题颜色。如果未指定,将使用由颜色(color)
属性或默认选取器颜色定义的颜色。
Orients picker horizontal
应用明亮主题变体
设置最大宽度
设置最小宽度
隐藏选取器标题
Components.TimePickers.
Components.TimePickers.
Components.TimePickers.
控制可见性
内容的宽度
示例
Time pickers - Colors
Time picker colors can be set using the color
and header-color
props. If header-color
prop is not provided header will use the color
prop value.
Time pickers - In dialog and menu
Due to the flexibility of pickers, you can really dial in the experience exactly how you want it.
Time pickers - 24h format
A time picker can be switched to 24hr format. Note that the format
prop defines only the way the picker is displayed, picker's value (model) is always in 24hr format.
Time pickers - Allowed times
You can specify allowed times using arrays, objects, and functions. You can also specify time step/precision/interval - e.g. 10 minutes.
Time pickers - Setting picker width
You can specify allowed the picker's width or make it full width.