naive-ui/demo/documentation/components/slider/enUS/mark.demo.md
07akioni 487001d697 build: add changelog to site, refactor loader based on suffix
.demo.md for component demo
.demo-entry.md for demo entry
.md for common docs
2020-08-19 23:30:04 +08:00

404 B

Mark

<n-slider
  v-model="value"
  range
  :marks="marks"
  :step="10"
/>
<n-input-number
  size="small"
  v-model="value[0]"
/>
<n-input-number
  size="small"
  v-model="value[1]"
/>
export default {
  data () {
    return {
      value: [50, 70],
      marks: {
        34: 'Amazing',
        75: 'Good'
      }
    }
  }
}
.n-input-number {
  margin: 0 12px 8px 0;
}