Umbauen & Gestalten
Sortierung
Filter
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: [2.9, 67.5],
connect: true,
range: {
min: [2.9],
max: [67.5]
}
});
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;
}
});
});
});
Verfügbarkeit
Hersteller
Epoche MoBa
Spielsysteme & Marken
Maßstab
Bolt Action Fraktion
Kategorien
Kategorien
- Noch Profi Gestein Kohle 100g3,50 EUR *0.1 Kilogramm | 35,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Noch Profi Schotter grau 250g3,50 EUR *0.25 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Noch Profi Schotter Kalkstein beigebraun 250g3,50 EUR *0.25 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Noch Profi Schotter braun 250g3,50 EUR *0.25 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Noch Profi Schotter Gneis rotbraun 250g3,50 EUR *0.25 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Noch Profi Schotter Granit grau 250g3,50 EUR *0.25 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Noch Profi Schotter Basalt dunkelgrau 250g3,50 EUR *0.25 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- AK Interactive Grass Flock 2mm Dry 250ml6,00 EUR *250 Milliliter | 24,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Grass Flock 2mm Late Fall 250ml6,00 EUR *250 Milliliter | 24,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Grass Flock 2mm Early Fall 250ml6,00 EUR *250 Milliliter | 24,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Grass Flock 2mm Summer 250ml6,00 EUR *250 Milliliter | 24,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Grass Flock 2mm Spring 250ml6,00 EUR *250 Milliliter | 24,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Modell Blätter Laubstreu Gefallenes Gelb Klein 10g6,25 EUR *0.01 Kilogramm | 625,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Modell Blätter Laubstreu Herbstorange Klein 10g6,25 EUR *0.01 Kilogramm | 625,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Modell Blätter Laubstreu Grün Klein 10g6,25 EUR *0.01 Kilogramm | 625,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Modell Blätter Laubstreu Natural Klein 10g6,25 EUR *0.01 Kilogramm | 625,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
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: [2.9, 67.5],
connect: true,
range: {
min: [2.9],
max: [67.5]
}
});
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;
}
});
});
});