Appearance
TimePicker-Default
Propoties
属性(attr) | 类型(type) | 必填(required) | 默认值(default) | 说明(statement) |
---|---|---|---|---|
v-model | Date | No | Date() | 绑定的时间 |
timeType | Number | No | 12 | 时间制(可选12,24) |
period | Array | No | ['A.M.','P.M.'] | 上午下午显示 |
inputBackground | String | No | N/A | 输入框背景色 |
innerBorderColor | String | No | N/A | 内部边框颜色 |
optionBackground | String | No | N/A | 选择器背景色 |
slideBtnBackground | String | No | N/A | 滑动按钮Hover背景色 |
disabled | Boolean | No | false | 是否禁用选项框 |
hoverColor | String | No | undefined | 选项的Hover背景色 |
secondType | String | No | 'same','zero','full' | 默认秒数, 'same'表示与当前传入日期一致, 'zero'/'full'分别表示设为0/59s |
theme | ['light', 'dark', 'custom', 'system'] | No | system | Custom theme |
Events
事件名(Name) | 参数类型(args) | 说明(statement) |
---|---|---|
change | 当选中的时间发生变化时 |