X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=README.md;h=0370e4067f3c2425caedf8c651802e85bdccad7b;hb=HEAD;hp=0698d7d407dc50b4620d5604a73e446d4fba2c52;hpb=d18ecfb67877d8bdfc54e47a214d3afab52b7bda;p=github%2Ffretlink%2Ftime-picker.git diff --git a/README.md b/README.md index 0698d7d..0370e40 100644 --- 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 | @@ -77,7 +78,12 @@ 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 | +| closeOnEsc | Boolean | true | whether esc should close the picker | +| inputReadOnly | Boolean | false | set input to read only | ## Test Case