Skip to content

TimePicker-Default

属性


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

事件


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

MIT Licensed