naive-ui/demo/documentation/components/timePicker/zhCN/index.md
Wanli Song 0db4bc26a1 fix the input of radio cannot foucs & feat time-picker disabled (#164)
* fix the input of radio cannot foucs

* fix the input of radio cannot foucs

* modify(changelog)

* refactor:remove debugger

* feature(n-time-picker):Add  for

* refactor:remove debugger
2020-07-22 16:58:31 +08:00

810 B

时间选择器 Time Picker

就像一块数码表。

演示

basic
size
disabledTime
format

V-model

prop event
value change

Props

名称 类型 默认值 说明
clearable boolean false
format string 'HH:mm:ss'
is-hour-disabled (hour: number) => boolean () => false
is-minute-disabled (minute: number, hour: number) => boolean () => false
is-second-disabled (second: number, minute: number, hour: number) => boolean () => false
placeholder string 'Select Time'
size 'small' | 'medium' | 'large' 'medium'
theme 'light' | 'dark' | null null
value number null
disabled boolean false

Events

名称 参数 说明
blur (value: number | null)
change (value: number | null)