docs: type highlight (#4264)
This commit is contained in:
@@ -91,15 +91,15 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| 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 | *string \| number* | `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
|
||||
|
||||
|
||||
@@ -93,15 +93,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` | - |
|
||||
| inactive-color | 进度条默认颜色 | `string` | `#e5e5e5` | - |
|
||||
| vertical | 是否垂直展示 | `boolean` | `false` | - |
|
||||
| value | 当前进度百分比 | *number* | `0` | - |
|
||||
| disabled | 是否禁用滑块 | *boolean* | `false` | - |
|
||||
| max | 最大值 | *number* | `100` | - |
|
||||
| min | 最小值 | *number* | `0` | - |
|
||||
| step | 步长 | *number* | `1` | - |
|
||||
| bar-height | 进度条高度,默认单位为`px` | *string \| number* | `2px` | - |
|
||||
| active-color | 进度条激活态颜色 | *string* | `#1989fa` | - |
|
||||
| inactive-color | 进度条默认颜色 | *string* | `#e5e5e5` | - |
|
||||
| vertical | 是否垂直展示 | *boolean* | `false` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user