]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
update readme document
authorMG12 <wuzhao.mail@gmail.com>
Wed, 16 Dec 2015 03:53:31 +0000 (11:53 +0800)
committerMG12 <wuzhao.mail@gmail.com>
Wed, 16 Dec 2015 03:53:31 +0000 (11:53 +0800)
README.md

index 98f913a14540dd0ed5c24a14ec96972ad7082eed..ea0e0346a40263964922c2fa241545de75831c0c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -61,9 +61,9 @@ API
 | showHour                | Boolean                           | whether show hour                             |                                                                                            |
 | showSecond              | Boolean                           | whether show second                           |                                                                                            |
 | formatter               | String|GregorianCalendarFormatter |                                               |                                                                                            |
-| disabledHours           | Array<Number>                     | disabled hour options                         |                                                                                            |
-| disabledMinutes         | Array<Number>                     | disabled minute options                       |                                                                                            |
-| disabledSeconds         | Array<Number>                     | disabled second options                       |                                                                                            |
+| disabledHours           | Function                          | disabled hour options                         |                                                                                            |
+| disabledMinutes         | Function                          | disabled minute options                       |                                                                                            |
+| disabledSeconds         | Function                          | disabled second options                       |                                                                                            |
 | hideDisabledOptions     | Boolean                           | whether hide disabled options                 |                                                                                            |
 | onChange                | Function                          | null                                          | called when select a different value                                                       |
 | placement               | String                            | bottomLeft                                    | one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'] |