From: afc163 Date: Mon, 20 Feb 2017 08:24:18 +0000 (+0800) Subject: document onOpen and onClose, close #23 X-Git-Tag: 2.2.2~3 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a;p=github%2Ffretlink%2Ftime-picker.git document onOpen and onClose, close #23 --- diff --git a/README.md b/README.md index c994218..9ecbc94 100644 --- a/README.md +++ b/README.md @@ -71,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 | 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