diff --git a/dist/vue-slider-with-indicator.esm.js b/dist/vue-slider-with-indicator.esm.js
index fca2d1e..7416550 100644
--- a/dist/vue-slider-with-indicator.esm.js
+++ b/dist/vue-slider-with-indicator.esm.js
@@ -27,7 +27,7 @@ var script = {
data: function data () {
return {
settings: {
- init: 20,
+ init: 50,
max: 100,
min: 0,
step: 1,
@@ -48,14 +48,18 @@ var script = {
}
},
props: {
- sliderValue: [Number, String],
- indicatorValue: [Number, String],
+ sliderValue: Number,
+ indicatorValue: Number,
options: Object
},
computed: {
calculatedSliderValue: {
get: function get () {
- return this.sliderValue || this.settings.init
+ var valueOrDefault =
+ this.sliderValue === 'undefined'
+ ? this.settings.init
+ : this.sliderValue;
+ return valueOrDefault
},
set: function set (val) {
this.$emit('input', val);
@@ -100,6 +104,14 @@ var script = {
}
},
mounted: function mounted () {
+
+ if (isNaN(this.sliderValue)) {
+ console.error(("Expected Number for 'sliderValue', instead got " + (this.sliderValue) + "."));
+ }
+ if (isNaN(this.indicatorValue)) {
+ console.error(("Expected Number for 'indicatorValue', instead got " + (this.indicatorValue) + "."));
+ }
+
if (this.options) {
for (var opt in this.options) {
if (opt !== 'style') {
@@ -318,11 +330,11 @@ __vue_render__._withStripped = true;
/* style */
var __vue_inject_styles__ = function (inject) {
if (!inject) { return }
- inject("data-v-36c2bb0b_0", { source: "\n.slider-container[data-v-36c2bb0b] {\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n display: flex;\n}\n\n/* From:\nhttps://www.w3schools.com/howto/howto_js_rangeslider.asp */\n.slider[data-v-36c2bb0b] {\n -webkit-appearance: none;\n appearance: none;\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n background-color: var(--backgroundColor);\n transform-origin: var(--transformOrigin);\n transform: var(--rotation);\n direction: var(--direction);\n}\n.synth-slider[data-v-36c2bb0b]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.synth-slider[data-v-36c2bb0b]::-moz-range-thumb {\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.modulation-indicator[data-v-36c2bb0b] {\n position: absolute;\n background: none;\n pointer-events: none;\n}\n.modulation-indicator[data-v-36c2bb0b]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background-color: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n.modulation-indicator[data-v-36c2bb0b]::-moz-range-thumb {\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n\n", map: {"version":3,"sources":["D:\\projects\\npm\\VueSliderWithIndicator\\src\\VueSliderWithIndicator.vue"],"names":[],"mappings":";AA6HA;EACA,yBAAA;EACA,2BAAA;EACA,aAAA;AACA;;AAEA;0DACA;AACA;EACA,wBAAA;EACA,gBAAA;EACA,yBAAA;EACA,2BAAA;EACA,wCAAA;EACA,wCAAA;EACA,0BAAA;EACA,2BAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,uCAAA;EACA,YAAA;EACA,gBAAA;AACA;AAEA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,iCAAA;EACA,YAAA;EACA,gBAAA;AACA","file":"VueSliderWithIndicator.vue","sourcesContent":["\n \n \n \n
\n\n\n\n\n\n\n"]}, media: undefined });
+ inject("data-v-909eb764_0", { source: "\n.slider-container[data-v-909eb764] {\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n display: flex;\n}\n\n/* From:\nhttps://www.w3schools.com/howto/howto_js_rangeslider.asp */\n.slider[data-v-909eb764] {\n -webkit-appearance: none;\n appearance: none;\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n background-color: var(--backgroundColor);\n transform-origin: var(--transformOrigin);\n transform: var(--rotation);\n direction: var(--direction);\n}\n.synth-slider[data-v-909eb764]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.synth-slider[data-v-909eb764]::-moz-range-thumb {\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.modulation-indicator[data-v-909eb764] {\n position: absolute;\n background: none;\n pointer-events: none;\n}\n.modulation-indicator[data-v-909eb764]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background-color: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n.modulation-indicator[data-v-909eb764]::-moz-range-thumb {\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n\n", map: {"version":3,"sources":["D:\\projects\\npm\\VueSliderWithIndicator\\src\\VueSliderWithIndicator.vue"],"names":[],"mappings":";AAyIA;EACA,yBAAA;EACA,2BAAA;EACA,aAAA;AACA;;AAEA;0DACA;AACA;EACA,wBAAA;EACA,gBAAA;EACA,yBAAA;EACA,2BAAA;EACA,wCAAA;EACA,wCAAA;EACA,0BAAA;EACA,2BAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,uCAAA;EACA,YAAA;EACA,gBAAA;AACA;AAEA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,iCAAA;EACA,YAAA;EACA,gBAAA;AACA","file":"VueSliderWithIndicator.vue","sourcesContent":["\n \n \n \n
\n\n\n\n\n\n\n"]}, media: undefined });
};
/* scoped */
- var __vue_scope_id__ = "data-v-36c2bb0b";
+ var __vue_scope_id__ = "data-v-909eb764";
/* module identifier */
var __vue_module_identifier__ = undefined;
/* functional template */
diff --git a/dist/vue-slider-with-indicator.min.js b/dist/vue-slider-with-indicator.min.js
index 5086169..797cb20 100644
--- a/dist/vue-slider-with-indicator.min.js
+++ b/dist/vue-slider-with-indicator.min.js
@@ -30,7 +30,7 @@ var VueSliderWithIndicator = (function (exports) {
data: function data () {
return {
settings: {
- init: 20,
+ init: 50,
max: 100,
min: 0,
step: 1,
@@ -51,14 +51,18 @@ var VueSliderWithIndicator = (function (exports) {
}
},
props: {
- sliderValue: [Number, String],
- indicatorValue: [Number, String],
+ sliderValue: Number,
+ indicatorValue: Number,
options: Object
},
computed: {
calculatedSliderValue: {
get: function get () {
- return this.sliderValue || this.settings.init
+ var valueOrDefault =
+ this.sliderValue === 'undefined'
+ ? this.settings.init
+ : this.sliderValue;
+ return valueOrDefault
},
set: function set (val) {
this.$emit('input', val);
@@ -103,6 +107,14 @@ var VueSliderWithIndicator = (function (exports) {
}
},
mounted: function mounted () {
+
+ if (isNaN(this.sliderValue)) {
+ console.error(("Expected Number for 'sliderValue', instead got " + (this.sliderValue) + "."));
+ }
+ if (isNaN(this.indicatorValue)) {
+ console.error(("Expected Number for 'indicatorValue', instead got " + (this.indicatorValue) + "."));
+ }
+
if (this.options) {
for (var opt in this.options) {
if (opt !== 'style') {
@@ -321,11 +333,11 @@ var VueSliderWithIndicator = (function (exports) {
/* style */
var __vue_inject_styles__ = function (inject) {
if (!inject) { return }
- inject("data-v-36c2bb0b_0", { source: "\n.slider-container[data-v-36c2bb0b] {\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n display: flex;\n}\n\n/* From:\nhttps://www.w3schools.com/howto/howto_js_rangeslider.asp */\n.slider[data-v-36c2bb0b] {\n -webkit-appearance: none;\n appearance: none;\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n background-color: var(--backgroundColor);\n transform-origin: var(--transformOrigin);\n transform: var(--rotation);\n direction: var(--direction);\n}\n.synth-slider[data-v-36c2bb0b]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.synth-slider[data-v-36c2bb0b]::-moz-range-thumb {\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.modulation-indicator[data-v-36c2bb0b] {\n position: absolute;\n background: none;\n pointer-events: none;\n}\n.modulation-indicator[data-v-36c2bb0b]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background-color: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n.modulation-indicator[data-v-36c2bb0b]::-moz-range-thumb {\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n\n", map: {"version":3,"sources":["D:\\projects\\npm\\VueSliderWithIndicator\\src\\VueSliderWithIndicator.vue"],"names":[],"mappings":";AA6HA;EACA,yBAAA;EACA,2BAAA;EACA,aAAA;AACA;;AAEA;0DACA;AACA;EACA,wBAAA;EACA,gBAAA;EACA,yBAAA;EACA,2BAAA;EACA,wCAAA;EACA,wCAAA;EACA,0BAAA;EACA,2BAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,uCAAA;EACA,YAAA;EACA,gBAAA;AACA;AAEA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,iCAAA;EACA,YAAA;EACA,gBAAA;AACA","file":"VueSliderWithIndicator.vue","sourcesContent":["\n \n \n \n
\n\n\n\n\n\n\n"]}, media: undefined });
+ inject("data-v-909eb764_0", { source: "\n.slider-container[data-v-909eb764] {\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n display: flex;\n}\n\n/* From:\nhttps://www.w3schools.com/howto/howto_js_rangeslider.asp */\n.slider[data-v-909eb764] {\n -webkit-appearance: none;\n appearance: none;\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n background-color: var(--backgroundColor);\n transform-origin: var(--transformOrigin);\n transform: var(--rotation);\n direction: var(--direction);\n}\n.synth-slider[data-v-909eb764]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.synth-slider[data-v-909eb764]::-moz-range-thumb {\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.modulation-indicator[data-v-909eb764] {\n position: absolute;\n background: none;\n pointer-events: none;\n}\n.modulation-indicator[data-v-909eb764]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background-color: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n.modulation-indicator[data-v-909eb764]::-moz-range-thumb {\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n\n", map: {"version":3,"sources":["D:\\projects\\npm\\VueSliderWithIndicator\\src\\VueSliderWithIndicator.vue"],"names":[],"mappings":";AAyIA;EACA,yBAAA;EACA,2BAAA;EACA,aAAA;AACA;;AAEA;0DACA;AACA;EACA,wBAAA;EACA,gBAAA;EACA,yBAAA;EACA,2BAAA;EACA,wCAAA;EACA,wCAAA;EACA,0BAAA;EACA,2BAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,uCAAA;EACA,YAAA;EACA,gBAAA;AACA;AAEA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,iCAAA;EACA,YAAA;EACA,gBAAA;AACA","file":"VueSliderWithIndicator.vue","sourcesContent":["\n \n \n \n
\n\n\n\n\n\n\n"]}, media: undefined });
};
/* scoped */
- var __vue_scope_id__ = "data-v-36c2bb0b";
+ var __vue_scope_id__ = "data-v-909eb764";
/* module identifier */
var __vue_module_identifier__ = undefined;
/* functional template */
diff --git a/dist/vue-slider-with-indicator.umd.js b/dist/vue-slider-with-indicator.umd.js
index 2ef349b..022d6b7 100644
--- a/dist/vue-slider-with-indicator.umd.js
+++ b/dist/vue-slider-with-indicator.umd.js
@@ -33,7 +33,7 @@
data: function data () {
return {
settings: {
- init: 20,
+ init: 50,
max: 100,
min: 0,
step: 1,
@@ -54,14 +54,18 @@
}
},
props: {
- sliderValue: [Number, String],
- indicatorValue: [Number, String],
+ sliderValue: Number,
+ indicatorValue: Number,
options: Object
},
computed: {
calculatedSliderValue: {
get: function get () {
- return this.sliderValue || this.settings.init
+ var valueOrDefault =
+ this.sliderValue === 'undefined'
+ ? this.settings.init
+ : this.sliderValue;
+ return valueOrDefault
},
set: function set (val) {
this.$emit('input', val);
@@ -106,6 +110,14 @@
}
},
mounted: function mounted () {
+
+ if (isNaN(this.sliderValue)) {
+ console.error(("Expected Number for 'sliderValue', instead got " + (this.sliderValue) + "."));
+ }
+ if (isNaN(this.indicatorValue)) {
+ console.error(("Expected Number for 'indicatorValue', instead got " + (this.indicatorValue) + "."));
+ }
+
if (this.options) {
for (var opt in this.options) {
if (opt !== 'style') {
@@ -324,11 +336,11 @@
/* style */
var __vue_inject_styles__ = function (inject) {
if (!inject) { return }
- inject("data-v-36c2bb0b_0", { source: "\n.slider-container[data-v-36c2bb0b] {\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n display: flex;\n}\n\n/* From:\nhttps://www.w3schools.com/howto/howto_js_rangeslider.asp */\n.slider[data-v-36c2bb0b] {\n -webkit-appearance: none;\n appearance: none;\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n background-color: var(--backgroundColor);\n transform-origin: var(--transformOrigin);\n transform: var(--rotation);\n direction: var(--direction);\n}\n.synth-slider[data-v-36c2bb0b]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.synth-slider[data-v-36c2bb0b]::-moz-range-thumb {\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.modulation-indicator[data-v-36c2bb0b] {\n position: absolute;\n background: none;\n pointer-events: none;\n}\n.modulation-indicator[data-v-36c2bb0b]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background-color: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n.modulation-indicator[data-v-36c2bb0b]::-moz-range-thumb {\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n\n", map: {"version":3,"sources":["D:\\projects\\npm\\VueSliderWithIndicator\\src\\VueSliderWithIndicator.vue"],"names":[],"mappings":";AA6HA;EACA,yBAAA;EACA,2BAAA;EACA,aAAA;AACA;;AAEA;0DACA;AACA;EACA,wBAAA;EACA,gBAAA;EACA,yBAAA;EACA,2BAAA;EACA,wCAAA;EACA,wCAAA;EACA,0BAAA;EACA,2BAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,uCAAA;EACA,YAAA;EACA,gBAAA;AACA;AAEA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,iCAAA;EACA,YAAA;EACA,gBAAA;AACA","file":"VueSliderWithIndicator.vue","sourcesContent":["\n \n \n \n
\n\n\n\n\n\n\n"]}, media: undefined });
+ inject("data-v-909eb764_0", { source: "\n.slider-container[data-v-909eb764] {\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n display: flex;\n}\n\n/* From:\nhttps://www.w3schools.com/howto/howto_js_rangeslider.asp */\n.slider[data-v-909eb764] {\n -webkit-appearance: none;\n appearance: none;\n width: var(--sliderWidth);\n height: var(--sliderHeight);\n background-color: var(--backgroundColor);\n transform-origin: var(--transformOrigin);\n transform: var(--rotation);\n direction: var(--direction);\n}\n.synth-slider[data-v-909eb764]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.synth-slider[data-v-909eb764]::-moz-range-thumb {\n width: var(--handleWidth); /* Set a specific slider handle width */\n height: var(--handleHeight); /* Slider handle height */\n background-color: var(--handleColor); /* Green background */\n border: none;\n border-radius: 0;\n cursor: pointer; /* Cursor on hover */\n}\n.modulation-indicator[data-v-909eb764] {\n position: absolute;\n background: none;\n pointer-events: none;\n}\n.modulation-indicator[data-v-909eb764]::-webkit-slider-thumb {\n -webkit-appearance: none; /* Override default look */\n appearance: none;\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background-color: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n.modulation-indicator[data-v-909eb764]::-moz-range-thumb {\n width: var(--indicatorWidth); /* Set a specific slider handle width */\n height: var(--indicatorHeight); /* Slider handle height */\n background: var(--indicatorColor);\n border: none;\n border-radius: 0;\n}\n\n", map: {"version":3,"sources":["D:\\projects\\npm\\VueSliderWithIndicator\\src\\VueSliderWithIndicator.vue"],"names":[],"mappings":";AAyIA;EACA,yBAAA;EACA,2BAAA;EACA,aAAA;AACA;;AAEA;0DACA;AACA;EACA,wBAAA;EACA,gBAAA;EACA,yBAAA;EACA,2BAAA;EACA,wCAAA;EACA,wCAAA;EACA,0BAAA;EACA,2BAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,yBAAA,EAAA,uCAAA;EACA,2BAAA,EAAA,yBAAA;EACA,oCAAA,EAAA,qBAAA;EACA,YAAA;EACA,gBAAA;EACA,eAAA,EAAA,oBAAA;AACA;AAEA;EACA,kBAAA;EACA,gBAAA;EACA,oBAAA;AACA;AAEA;EACA,wBAAA,EAAA,0BAAA;EACA,gBAAA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,uCAAA;EACA,YAAA;EACA,gBAAA;AACA;AAEA;EACA,4BAAA,EAAA,uCAAA;EACA,8BAAA,EAAA,yBAAA;EACA,iCAAA;EACA,YAAA;EACA,gBAAA;AACA","file":"VueSliderWithIndicator.vue","sourcesContent":["\n \n \n \n
\n\n\n\n\n\n\n"]}, media: undefined });
};
/* scoped */
- var __vue_scope_id__ = "data-v-36c2bb0b";
+ var __vue_scope_id__ = "data-v-909eb764";
/* module identifier */
var __vue_module_identifier__ = undefined;
/* functional template */