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
+4 -4
View File
@@ -78,10 +78,10 @@ export default {
### Events
| 事件名 | 说明 | 回调参数 |
| ----------- | ------------------ | -------- |
| click-left | 点击左侧按钮时触发 | - |
| click-right | 点击右侧按钮时触发 | - |
| 事件名 | 说明 | 回调参数 |
| ----------- | ------------------ | ------------------- |
| click-left | 点击左侧按钮时触发 | _event: MouseEvent_ |
| click-right | 点击右侧按钮时触发 | _event: MouseEvent_ |
### 样式变量