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
@@ -264,10 +264,10 @@ export default {
### Checkbox Events
| Event | Description | Parameters |
| ------ | ------------------------------------ | ------------------ |
| change | Emitted when value changed | _checked: boolean_ |
| click | Emitted when the checkbox is clicked | _event: Event_ |
| Event | Description | Parameters |
| ------ | ------------------------------------ | ------------------- |
| change | Emitted when value changed | _checked: boolean_ |
| click | Emitted when the checkbox is clicked | _event: MouseEvent_ |
### CheckboxGroup Events
+4 -4
View File
@@ -286,10 +286,10 @@ export default {
### Checkbox Events
| 事件名 | 说明 | 回调参数 |
| ------ | ------------------------ | ------------------ |
| change | 当绑定值变化时触发的事件 | _checked: boolean_ |
| click | 点击复选框时触发 | _event: Event_ |
| 事件名 | 说明 | 回调参数 |
| ------ | ------------------------ | ------------------- |
| change | 当绑定值变化时触发的事件 | _checked: boolean_ |
| click | 点击复选框时触发 | _event: MouseEvent_ |
### CheckboxGroup Events