naive-ui/demo/documentation/components/slider/enUS/range.md
2019-10-22 17:02:35 +08:00

236 B

Range

<n-slider
  v-model="value"
  range
  :step="1"
/>
<n-input-number
  v-model="value[0]"
/>
<n-input-number
  v-model="value[1]"
/>
export default {
  data () {
    return {
      value: [50, 70]
    }
  }
}