X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=9ecbc945d99959c93bb1d0e65acb90bd9f80d174;hb=aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a;hp=5d8822a49a537fb55fde019079940690d201b1a3;hpb=73e6cf7828e16b192e5980da49521473c1579a06;p=github%2Ffretlink%2Ftime-picker.git diff --git a/README.md b/README.md index 5d8822a..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 | | @@ -67,10 +68,12 @@ API | disabledSeconds | Function | disabled second options | | | 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 | '' | | -| autoComplete | String | 'yes' | one of ['yes', 'no'] | - +| 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