feat(Slider): min、max、step can be string

This commit is contained in:
陈嘉涵
2020-01-30 10:13:41 +08:00
parent 7b6022d0e7
commit 02fbc2126a
3 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -101,9 +101,9 @@ Slider 垂直展示时,高度为 100% 父元素高度
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| value | 当前进度百分比 | *number* | `0` |
| max | 最大值 | *number* | `100` |
| min | 最小值 | *number* | `0` |
| step | 步长 | *number* | `1` |
| max | 最大值 | *number \| string* | `100` |
| min | 最小值 | *number \| string* | `0` |
| step | 步长 | *number \| string* | `1` |
| bar-height | 进度条高度,默认单位为`px` | *number \| string* | `2px` |
| button-size `v2.4.5` | 滑块按钮大小,默认单位为`px` | *number \| string* | `24px` |
| active-color | 进度条激活态颜色 | *string* | `#1989fa` |