docs(components): [notification] add zIndex attribute (#9083)

This commit is contained in:
zz 2022-07-28 17:38:31 +08:00 committed by GitHub
parent f1af909ef6
commit 35b1897755
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,6 +121,7 @@ ElNotification({}, appContext)
| 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 |
| appendTo | set the root element for the notification | string / HTMLElement | - | document.body |
| zIndex | initial zIndex | number | - | 0 |
## Methods