aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2017-02-20 16:24:18 +0800
committerafc163 <afc163@gmail.com>2017-02-20 16:24:18 +0800
commitaa6d9b9f0867e1697a457c69e6df2bf8d0916e0a (patch)
tree26b984bd7e938f1074d48703dc96e44aebd3fa18
parent73fb171157dd0eb56a92d57cf20ddaf937e9b607 (diff)
downloadtime-picker-aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a.tar.gz
time-picker-aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a.tar.zst
time-picker-aa6d9b9f0867e1697a457c69e6df2bf8d0916e0a.zip
document onOpen and onClose, close #23
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index c994218..9ecbc94 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,9 @@ API
71| 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()`.| 71| 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()`.|
72| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] | 72| placement | String | bottomLeft | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] |
73| transitionName | String | '' | | 73| transitionName | String | '' | |
74| name | String | nothing | sets the name of the generated input | 74| name | String | - | sets the name of the generated input |
75| onOpen | Function({ open }) | | when TimePicker panel is opened |
76| onClose | Function({ open }) | | when TimePicker panel is opened |
75 77
76## Test Case 78## Test Case
77 79