]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
document onOpen and onClose, close #23
authorafc163 <afc163@gmail.com>
Mon, 20 Feb 2017 08:24:18 +0000 (16:24 +0800)
committerafc163 <afc163@gmail.com>
Mon, 20 Feb 2017 08:24:18 +0000 (16:24 +0800)
README.md

index c994218846bd73075135d213577211be51b83e48..9ecbc945d99959c93bb1d0e65acb90bd9f80d174 100644 (file)
--- 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