From 4187e348ec697f4af69afc84af469f752f3fe295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Merve=20=C3=96z=C3=A7if=C3=A7i?= Date: Tue, 26 Mar 2019 17:01:28 +0300 Subject: [PATCH] Slider doc added --- src/components/slider/Slider.vue | 30 ++-- src/views/slider/SliderDemo.vue | 9 +- src/views/slider/SliderDoc.vue | 231 +++++++++++++++++++++++++++++++ 3 files changed, 254 insertions(+), 16 deletions(-) create mode 100644 src/views/slider/SliderDoc.vue 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