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
+9 -9
View File
@@ -137,15 +137,15 @@ export default {
### Events
| Event | Description | Arguments |
| ---------------- | ---------------------------------- | -------------- |
| click | Emitted when Popup is clicked | _event: Event_ |
| click-overlay | Emitted when overlay is clicked | - |
| click-close-icon | Emitted when close icon is clicked | _event: Event_ |
| open | Emitted when opening Popup | - |
| close | Emitted when closing Popup | - |
| opened | Emitted when Popup is opened | - |
| closed | Emitted when Popup is closed | - |
| Event | Description | Arguments |
| ---------------- | ---------------------------------- | ------------------- |
| click | Emitted when Popup is clicked | _event: MouseEvent_ |
| click-overlay | Emitted when overlay is clicked | - |
| click-close-icon | Emitted when close icon is clicked | _event: MouseEvent_ |
| open | Emitted when opening Popup | - |
| close | Emitted when closing Popup | - |
| opened | Emitted when Popup is opened | - |
| closed | Emitted when Popup is closed | - |
### Less Variables