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
+3 -3
View File
@@ -97,6 +97,6 @@ import 'vant/lib/icon/local.css';
### Events
| Event | Description | Arguments |
| ----- | ---------------------------- | -------------- |
| click | Emitted when icon is clicked | _event: Event_ |
| Event | Description | Arguments |
| ----- | ---------------------------- | ------------------- |
| click | Emitted when icon is clicked | _event: MouseEvent_ |
+3 -3
View File
@@ -103,6 +103,6 @@ import 'vant/lib/icon/local.css';
### Events
| 事件名 | 说明 | 回调参数 |
| ------ | -------------- | -------------- |
| click | 点击图标时触发 | _event: Event_ |
| 事件名 | 说明 | 回调参数 |
| ------ | -------------- | ------------------- |
| click | 点击图标时触发 | _event: MouseEvent_ |