]> git.immae.eu Git - github/fretlink/time-picker.git/blobdiff - README.md
Merge pull request #1 from cyrilfretlink/close-on-esc-prop
[github/fretlink/time-picker.git] / README.md
index 3baa0ce1a59cdd0b044afbbc0b3e9d5712358022..0370e4067f3c2425caedf8c651802e85bdccad7b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -60,6 +60,7 @@ API
 | value                   | moment                            | null | current value |
 | placeholder             | String                            | '' | time input's placeholder |
 | className               | String                            | '' | time picker className |
+| id                      | String                            | '' | time picker id |
 | popupClassName          | String                            | '' | time panel className |
 | showHour                | Boolean                           | true | whether show hour | |
 | showMinute              | Boolean                           | true | whether show minute |
@@ -81,6 +82,7 @@ API
 | minuteStep              | Number                            | 1 | interval between minutes in picker  |
 | secondStep              | Number                            | 1 | interval between seconds in picker  |
 | focusOnOpen             | Boolean                           | false | automatically focus the input when the picker opens |
+| closeOnEsc              | Boolean                           | true  | whether <kbd>esc</kbd> should close the picker |
 | inputReadOnly             | Boolean                           | false | set input to read only |
 
 ## Test Case