X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=README.md;h=9ecbc945d99959c93bb1d0e65acb90bd9f80d174;hb=aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a;hp=4a368151a09f582c0674f0a3134859e0d8384249;hpb=66c7bc36856bbabb4ff73a3ccf671448eed1f359;p=github%2Ffretlink%2Ftime-picker.git diff --git a/README.md b/README.md index 4a36815..9ecbc94 100644 --- a/README.md +++ b/README.md @@ -71,8 +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 | nothing | sets the name of the generated input | - +| 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