naive-ui/demo/documentation/components/slider/zhCN/index.md

31 lines
514 B
Markdown
Raw Normal View History

2020-02-04 18:39:05 +08:00
# 滑动选择 Slider
就我所知,这东西一般就用来控制音量。
## 演示
```demo
basic
range
mark
```
## V-model
|Prop|Event|
|-|-|
|value|change|
## Props
|名称|类型|默认值|介绍|
|-|-|-|-|
|marks|`{ [markValue: number]: string }`|||
|disabled|`boolean`|`false`||
|min|`number`|`0`||
|max|`number`|`100`||
|step|`number`|`1`||
|range|`boolean`|`false`||
|value|`number \| [number, number]`|`null`|
## Events
|名称|参数|介绍|
|-|-|-|
|change|`(value: number \| [number, number])`||