aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
author偏右 <afc163@gmail.com>2017-10-22 16:53:32 +0800
committerGitHub <noreply@github.com>2017-10-22 16:53:32 +0800
commit81cdb7024e669b0c2c8cc1911776d47683e3500d (patch)
treeeb9bf3c0b111087cbf868ec434baba96b539be5d /README.md
parent8c22015207c1927b27c90b4bf0f40dc9c56d2fe5 (diff)
parentf0ac29c61df164ab3e867ef86137faa13d85a87f (diff)
downloadtime-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.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0698d7d..27a1aae 100644
--- a/README.md
+++ b/README.md
@@ -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