diff --git a/src/components/slider/Slider.vue b/src/components/slider/Slider.vue index 5818f9687..a64a0c039 100644 --- a/src/components/slider/Slider.vue +++ b/src/components/slider/Slider.vue @@ -13,21 +13,21 @@ import DomHandler from '../utils/DomHandler'; export default { props: { value: [Number,Array], - disabled: Boolean, - step: Number, - range: Boolean, - min: { - type: Number, - default: 0 - }, - max: { - type: Number, - default: 100 - }, - orientation: { - type: String, - default: 'horizontal' - } + min: { + type: Number, + default: 0 + }, + max: { + type: Number, + default: 100 + }, + orientation: { + type: String, + default: 'horizontal' + }, + step: Number, + range: Boolean, + disabled: Boolean }, dragging: false, handleIndex: null, diff --git a/src/views/slider/SliderDemo.vue b/src/views/slider/SliderDemo.vue index 13f48a211..20ab9df12 100644 --- a/src/views/slider/SliderDemo.vue +++ b/src/views/slider/SliderDemo.vue @@ -12,7 +12,7 @@

Input: {{value2}}

- +

Step: {{value3}}

@@ -24,10 +24,14 @@

Vertical: {{value5}}

+ + diff --git a/src/views/slider/SliderDoc.vue b/src/views/slider/SliderDoc.vue new file mode 100644 index 000000000..436cc6c6b --- /dev/null +++ b/src/views/slider/SliderDoc.vue @@ -0,0 +1,231 @@ + \ No newline at end of file