diff options
author | afc163 <afc163@gmail.com> | 2017-03-08 15:07:50 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2017-03-08 15:08:55 +0800 |
commit | e3b09ca0ac66c44f326584c0bd813437b96748ec (patch) | |
tree | df6e43fedc79ca0e825865ede05984ab8905b286 /README.md | |
parent | 63105a5ec0b6637aeaa359c6f750f7156f392f32 (diff) | |
download | time-picker-e3b09ca0ac66c44f326584c0bd813437b96748ec.tar.gz time-picker-e3b09ca0ac66c44f326584c0bd813437b96748ec.tar.zst time-picker-e3b09ca0ac66c44f326584c0bd813437b96748ec.zip |
update README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -48,27 +48,27 @@ API | |||
48 | 48 | ||
49 | ### TimePicker | 49 | ### TimePicker |
50 | 50 | ||
51 | | Name | Type | Default | Description | | 51 | | Name | Type | Default | Description | |
52 | |-------------------------|-----------------------------------|-----------------------------------------------|--------------------------------------------------------------------------------------------| | 52 | |-------------------------|-----------------------------------|---------|-------------| |
53 | | prefixCls | String | 'rc-time-picker' | prefixCls of this component | | 53 | | prefixCls | String | 'rc-time-picker' | prefixCls of this component | |
54 | | clearText | String | 'clear' | | | 54 | | clearText | String | 'clear' | clear tooltip of icon | |
55 | | disabled | Boolean | false | whether picker is disabled | | 55 | | disabled | Boolean | false | whether picker is disabled | |
56 | | clearText | String | clear | clear text | | 56 | | clearText | String | clear | clear text | |
57 | | open | Boolean | false | current open state of picker. controlled prop | | 57 | | open | Boolean | false | current open state of picker. controlled prop | |
58 | | defaultValue | moment | null | default initial value | | 58 | | defaultValue | moment | null | default initial value | |
59 | | defaultOpenValue | moment | moment() | default open panel value, used to set utcOffset,locale if value/defaultValue absent | | 59 | | defaultOpenValue | moment | moment() | default open panel value, used to set utcOffset,locale if value/defaultValue absent | |
60 | | value | moment | null | current value | | 60 | | value | moment | null | current value | |
61 | | placeholder | String | '' | time input's placeholder | | 61 | | placeholder | String | '' | time input's placeholder | |
62 | | showHour | Boolean | true | whether show hour | | | 62 | | showHour | Boolean | true | whether show hour | | |
63 | | showMinute | Boolean | true | whether show minute | | | 63 | | showMinute | Boolean | true | whether show minute | |
64 | | showSecond | Boolean | true | whether show second | | | 64 | | showSecond | Boolean | true | whether show second | |
65 | | format | String | - | | | | 65 | | format | String | - | moment format | |
66 | | disabledHours | Function | - | disabled hour options | | | 66 | | disabledHours | Function | - | disabled hour options | |
67 | | disabledMinutes | Function | - | disabled minute options | | | 67 | | disabledMinutes | Function | - | disabled minute options | |
68 | | disabledSeconds | Function | - | disabled second options | | | 68 | | disabledSeconds | Function | - | disabled second options | |
69 | | use12Hours | Boolean | false | 12 hours display mode | | 69 | | use12Hours | Boolean | false | 12 hours display mode | |
70 | | hideDisabledOptions | Boolean | false | whether hide disabled options | | | 70 | | hideDisabledOptions | Boolean | false | whether hide disabled options | |
71 | | onChange | Function | null | called when select a different value | | 71 | | onChange | Function | null | called when select a different value | |
72 | | addon | Function | - | called from timepicker panel to render some addon to its bottom, like an OK button. Receives panel instance as parameter, to be able to close it like `panel.close()`.| | 72 | | addon | Function | - | called from timepicker panel to render some addon to its bottom, like an OK button. Receives panel instance as parameter, to be able to close it like `panel.close()`.| |
73 | | placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | | 73 | | placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | |
74 | | transitionName | String | '' | | | 74 | | transitionName | String | '' | | |