docs: improve click event typing (#8106)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -120,11 +120,11 @@ app.use(NoticeBar);
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------------------------- | -------------- |
|
||||
| click | 点击通知栏时触发 | _event: Event_ |
|
||||
| close | 关闭通知栏时触发 | _event: Event_ |
|
||||
| replay | 每当滚动栏重新开始滚动时触发 | - |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------------------------- | ------------------- |
|
||||
| click | 点击通知栏时触发 | _event: MouseEvent_ |
|
||||
| close | 关闭通知栏时触发 | _event: MouseEvent_ |
|
||||
| replay | 每当滚动栏重新开始滚动时触发 | - |
|
||||
|
||||
### Slots
|
||||
|
||||
|
||||
Reference in New Issue
Block a user