docs: improve click event typing (#8106)

This commit is contained in:
neverland
2021-02-09 16:35:54 +08:00
committed by GitHub
parent 8c58097121
commit dcef90a2a3
38 changed files with 150 additions and 150 deletions
+5 -5
View File
@@ -95,11 +95,11 @@ app.use(NoticeBar);
### Events
| Event | Description | Arguments |
| ------ | ---------------------------------- | -------------- |
| click | Emitted when NoticeBar is clicked | _event: Event_ |
| close | Emitted when NoticeBar is closed | _event: Event_ |
| replay | Emitted when NoticeBar is replayed | - |
| Event | Description | Arguments |
| ------ | ---------------------------------- | ------------------- |
| click | Emitted when NoticeBar is clicked | _event: MouseEvent_ |
| close | Emitted when NoticeBar is closed | _event: MouseEvent_ |
| replay | Emitted when NoticeBar is replayed | - |
### Slots