X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=9ecbc945d99959c93bb1d0e65acb90bd9f80d174;hb=95699887ac75de5dff6bd25278289e31e4745482;hp=5ec960c16f8ebcbe87fa08f7ad14d5ac8d6fb3f8;hpb=b86fe1d16a4ad06951bba9ac2990ec3e4563637a;p=github%2Ffretlink%2Ftime-picker.git diff --git a/README.md b/README.md index 5ec960c..9ecbc94 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ 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 | | @@ -70,7 +71,9 @@ API | 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