继承
SpinnerBase
用法
<TimeSpinner placeholder="Select a time"
v-model="time"
min="08:30"
max="18:10">
</TimeSpinner>
<p v-if="time">选择: {{time}}</p>
属性
名称 | 类型 | 描述 | 默认 |
---|---|---|---|
value | string | 字段值。 | null |
min | string | 最小允许时间。 | null |
max | string | 最大允许时间。 | null |
increment | number | 单击微调按钮时增加值。 | 1 |
highlight | number | 初始化突出显示的字段,0 =小时,1 =分钟 | 0 |
format | string | 时间格式。 | HH:mm |