From aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 20 Feb 2017 16:24:18 +0800 Subject: [PATCH] document onOpen and onClose, close #23 --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.41.0