mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
docs: improve click event typing (#8106)
This commit is contained in:
@@ -32,9 +32,9 @@ Vue.use(DemoButton);
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | ------------ |
|
||||
| click | 点击时触发 | event: Event |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | ------------------- |
|
||||
| click | 点击时触发 | _event: MouseEvent_ |
|
||||
|
||||
### Slots
|
||||
|
||||
|
@@ -32,9 +32,9 @@ Vue.use(DemoButton);
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | ------------ |
|
||||
| click | 点击时触发 | event: Event |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | ------------------- |
|
||||
| click | 点击时触发 | _event: MouseEvent_ |
|
||||
|
||||
### Slots
|
||||
|
||||
|
Reference in New Issue
Block a user