Notification: add onClick handler documentation

pull/4305/head^2
Alexandre Mouillard 2017-04-16 11:33:17 +02:00 committed by 杨奕
parent d51f08870d
commit 3c7addd87b
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ In this case you should call `Notification(options)`. We have also registered me
| customClass | custom class name for Notification | string | — | — |
| duration | duration before close. It will not automatically close if set 0 | number | — | 4500 |
| onClose | callback function when closed | function | — | — |
| onClick | callback function when notification clicked | function | — | — |
| offset | offset from the top edge of the screen. Every Notification instance of the same moment should have the same offset | number | — | 0 |
### Methods