Skip to content

TimePicker-Default ​

属性 ​


属性类型必填默认值说明
modelValueDate否() => new Date()绑定的时间。
timeTypenumber否12时间制(可选12,24)
periodarray否['A.M.', 'P.M.']上午下午显示。
inputBackgroundstring否''输入框背景色。
innerBorderColorstring否'rgba(200, 200, 200, 0.3)'内部边框颜色。
optionBackgroundstring否''选择器背景色。
slideBtnBackgroundstring否''滑动按钮Hover背景色。
disabledboolean否false是否禁用选项框。
hoverColorstring否undefined选项的Hover背景色。
secondTypestring否'same'默认秒数,'same'表示与当前传入日期一致,'zero'/'full'分别表示设为0/59s
themestring否'global'Custom theme
selectedBackgroundstring否''参见组件的 selectedBackground 选项。
langstring否"global"参见组件的 lang 选项。

事件 ​


事件名参数说明
change当选中的时间发生变化时。

MIT Licensed