docs: improve click event typing (#8106)
This commit is contained in:
@@ -76,10 +76,10 @@ export default {
|
||||
|
||||
### Events
|
||||
|
||||
| Event | Description | Arguments |
|
||||
| ----------- | ---------------------------------------- | --------- |
|
||||
| click-left | Emitted when the left button is clicked | - |
|
||||
| click-right | Emitted when the right button is clicked | - |
|
||||
| Event | Description | Arguments |
|
||||
| ----------- | ---------------------------------------- | ------------------- |
|
||||
| click-left | Emitted when the left button is clicked | _event: MouseEvent_ |
|
||||
| click-right | Emitted when the right button is clicked | _event: MouseEvent_ |
|
||||
|
||||
### Less Variables
|
||||
|
||||
|
||||
@@ -78,10 +78,10 @@ export default {
|
||||
|
||||
### Events
|
||||
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ----------- | ------------------ | -------- |
|
||||
| click-left | 点击左侧按钮时触发 | - |
|
||||
| click-right | 点击右侧按钮时触发 | - |
|
||||
| 事件名 | 说明 | 回调参数 |
|
||||
| ----------- | ------------------ | ------------------- |
|
||||
| click-left | 点击左侧按钮时触发 | _event: MouseEvent_ |
|
||||
| click-right | 点击右侧按钮时触发 | _event: MouseEvent_ |
|
||||
|
||||
### 样式变量
|
||||
|
||||
|
||||
Reference in New Issue
Block a user