docs: improve event param typing

This commit is contained in:
陈嘉涵
2020-02-09 11:12:15 +08:00
parent 779c83bd67
commit aceaa2f739
40 changed files with 84 additions and 84 deletions
+3 -3
View File
@@ -130,15 +130,15 @@ export default {
| Event | Description | Arguments |
|------|------|------|
| finish | Triggered when count down finished | - |
| change `v2.4.4` | Triggered when count down changed | timeData |
| change `v2.4.4` | Triggered when count down changed | *timeData: TimeData* |
### Slots
| Name | Description | SlotProps |
|------|------|------|
| default | Custom Content | timeData |
| default | Custom Content | *timeData: TimeData* |
### timeData Structure
### TimeData Structure
| Name | Description | Type |
|------|------|------|
+3 -3
View File
@@ -140,15 +140,15 @@ export default {
| 事件名 | 说明 | 回调参数 |
|------|------|------|
| finish | 倒计时结束时触发 | - |
| change `v2.4.4` | 倒计时变化时触发 | timeData |
| change `v2.4.4` | 倒计时变化时触发 | *timeData: TimeData* |
### Slots
| 名称 | 说明 | SlotProps |
|------|------|------|
| default | 自定义内容 | timeData |
| default | 自定义内容 | *timeData: TimeData* |
### timeData 格式
### TimeData 格式
| 名称 | 说明 | 类型 |
|------|------|------|