[Doc] use ts-style type

This commit is contained in:
陈嘉涵
2019-07-11 20:35:41 +08:00
parent 32f19c5561
commit 019c75506a
120 changed files with 1288 additions and 1288 deletions
+9 -9
View File
@@ -90,15 +90,15 @@ export default {
| Attribute | Description | Type | Default |
|------|------|------|------|------|
| value | Current value | `Number` | `0` |
| disabled | Whether to disable slider | `Boolean` | `false` |
| max | Max value | `Number` | `100` |
| min | Min value | `Number` | `0` |
| step | Step size | `Number` | `1` |
| bar-height | Height of bar | `Number | String` | `2px` |
| active-color | Active color of bar | `String` | `#1989fa` |
| inactive-color | Inactive color of bar | `String` | `#e5e5e5` |
| vertical | Whether to display vertical | `Boolean` | `false` |
| value | Current value | `number` | `0` |
| disabled | Whether to disable slider | `boolean` | `false` |
| max | Max value | `number` | `100` |
| min | Min value | `number` | `0` |
| step | Step size | `number` | `1` |
| bar-height | Height of bar | `number | string` | `2px` |
| active-color | Active color of bar | `string` | `#1989fa` |
| inactive-color | Inactive color of bar | `string` | `#e5e5e5` |
| vertical | Whether to display vertical | `boolean` | `false` |
### Events
+9 -9
View File
@@ -92,15 +92,15 @@ Slider 垂直展示时,高度为 100% 父元素高度
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| value | 当前进度百分比 | `Number` | `0` | - |
| disabled | 是否禁用滑块 | `Boolean` | `false` | - |
| max | 最大值 | `Number` | `100` | - |
| min | 最小值 | `Number` | `0` | - |
| step | 步长 | `Number` | `1` | - |
| bar-height | 进度条高度,默认单位为`px` | `Number | String` | `2px` | - |
| active-color | 进度条激活态颜色 | `String` | `#1989fa` | 1.5.1 |
| inactive-color | 进度条默认颜色 | `String` | `#e5e5e5` | 1.5.1 |
| vertical | 是否垂直展示 | `Boolean` | `false` | 1.6.13 |
| value | 当前进度百分比 | `number` | `0` | - |
| disabled | 是否禁用滑块 | `boolean` | `false` | - |
| max | 最大值 | `number` | `100` | - |
| min | 最小值 | `number` | `0` | - |
| step | 步长 | `number` | `1` | - |
| bar-height | 进度条高度,默认单位为`px` | `number | string` | `2px` | - |
| active-color | 进度条激活态颜色 | `string` | `#1989fa` | 1.5.1 |
| inactive-color | 进度条默认颜色 | `string` | `#e5e5e5` | 1.5.1 |
| vertical | 是否垂直展示 | `boolean` | `false` | 1.6.13 |
### Events