From a172e165fc007b269cdc6ffdbcf91ce978fb2741 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 4 Dec 2020 17:47:33 +0300 Subject: [PATCH] Cleanup and add doc --- src/components/knob/Knob.vue | 8 -------- src/views/knob/KnobDoc.vue | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/knob/Knob.vue b/src/components/knob/Knob.vue index d2b648c1b..8e69f8253 100644 --- a/src/components/knob/Knob.vue +++ b/src/components/knob/Knob.vue @@ -156,14 +156,6 @@ export default { } ]; }, - style () { - return { - height: this.responsive ? this.size + '%' : this.size - 5 + 'px' - }; - }, - computedSize() { - return this.responsive ? this.size + '%' : this.size; - }, rangePath() { return `M ${this.minX} ${this.minY} A ${this.radius} ${this.radius} 0 1 1 ${this.maxX} ${this.maxY}`; }, diff --git a/src/views/knob/KnobDoc.vue b/src/views/knob/KnobDoc.vue index cc8a11c5d..104b495b6 100644 --- a/src/views/knob/KnobDoc.vue +++ b/src/views/knob/KnobDoc.vue @@ -77,6 +77,12 @@ data() { number null Value of the component. + + + size + number + 100 + Size of the component in pixels. disabled