naive-ui/demo/documentation/components/slider/enUS/range.md

23 lines
236 B
Markdown
Raw Normal View History

2019-10-22 17:02:35 +08:00
# Range
```html
<n-slider
v-model="value"
range
:step="1"
/>
<n-input-number
v-model="value[0]"
/>
<n-input-number
v-model="value[1]"
/>
```
```js
export default {
data () {
return {
value: [50, 70]
}
}
}
```