mirror of
https://github.com/youzan/vant.git
synced 2026-05-08 01:07:46 +08:00
docs: improve click event typing (#8106)
This commit is contained in:
+6
-6
@@ -100,12 +100,12 @@ Set grid spacing using `gutter` attribute. The default value is 0.
|
||||
|
||||
### Row Events
|
||||
|
||||
| Event | Description | Arguments |
|
||||
| ----- | ------------------------------- | -------------- |
|
||||
| click | Emitted when the row is clicked | _event: Event_ |
|
||||
| Event | Description | Arguments |
|
||||
| ----- | ------------------------------- | ------------------- |
|
||||
| click | Emitted when the row is clicked | _event: MouseEvent_ |
|
||||
|
||||
### Col Events
|
||||
|
||||
| Event | Description | Arguments |
|
||||
| ----- | ------------------------------- | -------------- |
|
||||
| click | Emitted when the col is clicked | _event: Event_ |
|
||||
| Event | Description | Arguments |
|
||||
| ----- | ------------------------------- | ------------------- |
|
||||
| click | Emitted when the col is clicked | _event: MouseEvent_ |
|
||||
|
||||
@@ -105,12 +105,12 @@ Layout 组件提供了 `24列栅格`,通过在 `Col` 上添加 `span` 属性
|
||||
|
||||
### Row Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | -------------- |
|
||||
| click | 点击时触发 | _event: Event_ |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | ------------------- |
|
||||
| click | 点击时触发 | _event: MouseEvent_ |
|
||||
|
||||
### Col Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | -------------- |
|
||||
| click | 点击时触发 | _event: Event_ |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ------ | ---------- | ------------------- |
|
||||
| click | 点击时触发 | _event: MouseEvent_ |
|
||||
|
||||
Reference in New Issue
Block a user