Beleuchtung
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: [14.49, 80.99],
connect: true,
range: {
min: [14.49],
max: [80.99]
}
});
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;
}
});
});
});
Farbe
Verfügbarkeit
Artikelbewertung
Marken
- Trelock 8003680 Dynamo-Rücklicht "LS 633 Duo Top", LED, Standlicht, schwarz
UVP 18,99 €14,79 € ** inkl. ges. MwSt. zzgl. Versandkosten - Trelock 8002304 Batterie-Rückleuchte "LS 812 Trio Flat", LED, Standlicht, schwarz
UVP 17,99 €14,49 € ** inkl. ges. MwSt. zzgl. Versandkosten - LED-Batterie-Leuchte I-Go Sport LS 350/LS 710 Kombi mit Batterien
UVP 29,99 €22,69 € ** inkl. ges. MwSt. zzgl. Versandkosten - Trelock 8002095 Akku-Leuchte "Control Ion 70 LS 950", LED, mit Halter ZL 800, schwarz
UVP 109,99 €80,99 € ** inkl. ges. MwSt. zzgl. Versandkosten