Anhänger
Hersteller
Categories
Preis
€
―
€
"use strict";
var keypressSlider = document.querySelector(".slider-keypress");
var input0 = document.querySelector(".input-with-keypress-0");
var input1 = document.querySelector(".input-with-keypress-1");
var inputs = [input0, input1];
noUiSlider.create(keypressSlider, {
start: [25.46, 38.21],
connect: true,
range: {
min: [25.46],
max: [38.21]
}
});
keypressSlider.noUiSlider.on("update", function(values, handle) {
inputs[handle].value = values[handle];
function setSliderHandle(i, value) {
var r = [null, null];
r[i] = value;
keypressSlider.noUiSlider.set(r);
}
inputs.forEach(function(input, handle) {
input.addEventListener("change", function() {
setSliderHandle(handle, this.value);
});
input.addEventListener("keydown", function(e) {
var values = keypressSlider.noUiSlider.get();
var value = Number(values[handle]);
var steps = keypressSlider.noUiSlider.steps();
var step = steps[handle];
var position;
switch (e.which) {
case 13: setSliderHandle(handle, this.value); break;
case 38: position = step[1]; if (position === false) { position = 1; } if (position !== null) {setSliderHandle(handle, value + position); } break;
case 40: position = step[0]; if (position === false) { position = 1; } if (position !== null) { setSliderHandle(handle, value - position); } break;
}
});
});
});
- Leonardo 021632 Damen Anhänger Herz Lucrezia Clip&Mix Edelstahl Rose
UVP 44,95 EUR38,21 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - Leonardo 021641 Damen Anhänger Albera Edelstahl Bicolor Gold
UVP 34,95 EUR29,71 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - Leonardo 021643 Damen Anhänger Sara Clip&Mix Edelstahl Gold
UVP 34,95 EUR29,71 EUR ** inkl. ges. MwSt. zzgl. Versandkosten - Leonardo 021856 Damen Anhänger Clip&Mix Sita Edelstahl Gold
UVP 29,95 EUR25,46 EUR ** inkl. ges. MwSt. zzgl. Versandkosten