diff options
author | 偏右 <afc163@gmail.com> | 2017-10-22 16:53:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-22 16:53:32 +0800 |
commit | 81cdb7024e669b0c2c8cc1911776d47683e3500d (patch) | |
tree | eb9bf3c0b111087cbf868ec434baba96b539be5d /README.md | |
parent | 8c22015207c1927b27c90b4bf0f40dc9c56d2fe5 (diff) | |
parent | f0ac29c61df164ab3e867ef86137faa13d85a87f (diff) | |
download | time-picker-81cdb7024e669b0c2c8cc1911776d47683e3500d.tar.gz time-picker-81cdb7024e669b0c2c8cc1911776d47683e3500d.tar.zst time-picker-81cdb7024e669b0c2c8cc1911776d47683e3500d.zip |
Merge pull request #72 from marekpiechut/picker-step
Add hourStep, minuteStep and secondStep props to control intervals in picker
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -77,6 +77,9 @@ API | |||
77 | | name | String | - | sets the name of the generated input | | 77 | | name | String | - | sets the name of the generated input | |
78 | | onOpen | Function({ open }) | | when TimePicker panel is opened | | 78 | | onOpen | Function({ open }) | | when TimePicker panel is opened | |
79 | | onClose | Function({ open }) | | when TimePicker panel is opened | | 79 | | onClose | Function({ open }) | | when TimePicker panel is opened | |
80 | | hourStep | Number | 1 | interval between hours in picker | | ||
81 | | minuteStep | Number | 1 | interval between minutes in picker | | ||
82 | | secondStep | Number | 1 | interval between seconds in picker | | ||
80 | | focusOnOpen | Boolean | false | automatically focus the input when the picker opens | | 83 | | focusOnOpen | Boolean | false | automatically focus the input when the picker opens | |
81 | 84 | ||
82 | ## Test Case | 85 | ## Test Case |