X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=d8a35b9c3a004440b4dbbe3c9192e51efad6e67b;hb=4e020febdf6201ab5f10a0e49be81c6ff32daaeb;hp=5ec960c16f8ebcbe87fa08f7ad14d5ac8d6fb3f8;hpb=5d0443410afb55ab320db946e626f621b64f43b1;p=github%2Ffretlink%2Ftime-picker.git diff --git a/README.md b/README.md index 5ec960c..d8a35b9 100644 --- a/README.md +++ b/README.md @@ -60,17 +60,21 @@ API | value | moment | null | current value | | placeholder | String | '' | time input's placeholder | | showHour | Boolean | whether show hour | | +| showMinute | Boolean | whether show minute | | | showSecond | Boolean | whether show second | | | format | String | | | | disabledHours | Function | disabled hour options | | | disabledMinutes | Function | disabled minute options | | | disabledSeconds | Function | disabled second options | | +| use12Hours | Boolean | 12 hours display mode | | | hideDisabledOptions | Boolean | whether hide disabled options | | | onChange | Function | null | called when select a different value | | addon | Function | nothing | called from timepicker panel to render some addon to its bottom, like an OK button. Receives panel instance as parameter, to be able to close it like `panel.close()`.| | placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | | transitionName | String | '' | | - +| 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 | ## Test Case