]> git.immae.eu Git - github/fretlink/time-picker.git/blobdiff - README.md
Fix lint
[github/fretlink/time-picker.git] / README.md
index 1c44e76c63df8dddb380b15aecebf5862be07f86..3baa0ce1a59cdd0b044afbbc0b3e9d5712358022 100644 (file)
--- a/README.md
+++ b/README.md
@@ -59,6 +59,8 @@ API
 | defaultOpenValue        | moment                            | moment() | default open panel value, used to set utcOffset,locale if value/defaultValue absent |
 | value                   | moment                            | null | current value |
 | placeholder             | String                            | '' | time input's placeholder |
+| className               | String                            | '' | time picker className |
+| popupClassName          | String                            | '' | time panel className |
 | showHour                | Boolean                           | true | whether show hour | |
 | showMinute              | Boolean                           | true | whether show minute |
 | showSecond              | Boolean                           | true | whether show second |
@@ -75,6 +77,11 @@ API
 | name                    | String                            | - | sets the name of the generated input |
 | onOpen                  | Function({ open })                |   | when TimePicker panel is opened      |
 | onClose                 | Function({ open })                |   | when TimePicker panel is opened      |
+| hourStep                | Number                            | 1 | interval between hours in picker  |
+| 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 |
+| inputReadOnly             | Boolean                           | false | set input to read only |
 
 ## Test Case