Notification: improve position attr (en-US)

pull/7923/head
WittBulter 2017-10-31 22:39:57 +08:00 committed by 杨奕
parent 4403fdc251
commit 2c34b3c804
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ In this case you should call `Notification(options)`. We have also registered me
| iconClass | custom icon's class. It will be overridden by `type` | string | — | — |
| customClass | custom class name for Notification | string | — | — |
| duration | duration before close. It will not automatically close if set 0 | number | — | 4500 |
| position | custom position | string | top-right/top-left/bottom-right/bottom-left | top-right |
| showClose | whether to show a close button | boolean | — | true |
| onClose | callback function when closed | function | — | — |
| onClick | callback function when notification clicked | function | — | — |