Farben & Bemalhilfen
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: [3.6, 31.5],
connect: true,
range: {
min: [3.6],
max: [31.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
Spielsysteme & Marken
Maßstab
40k Fraktion
Kategorien
Kategorien
- -10%
- -10%Age of Sigmar Stormcast Eternals Liberators and Paint Set
Statt 30,00 EUR27,00 EUR ** inkl. MwSt. zzgl. Versand - -10%Warhammer 40.000 Termagants and Ripper Swarm + Paints Set
Statt 30,00 EUR27,00 EUR ** inkl. MwSt. zzgl. Versand - -10%Warhammer 40.000 Infernus Marines + Paints Set
Statt 30,00 EUR27,00 EUR ** inkl. MwSt. zzgl. Versand - JETZT im SALE!Games Workshop Citadel Shade 18ml - Einzeln wählbar6,30 EUR *18 Milliliter | 350,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Games Workshop Citadel Contrast 18ml - Einzeln wählbar6,30 EUR *18 Milliliter | 350,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Games Workshop Citadel Dry 12ml - Einzeln wählbar3,60 EUR *12 Milliliter | 300,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Games Workshop Citadel Technical - Einzeln wählbar3,60 EUR *12 Milliliter* inkl. MwSt. zzgl. Versand
- Games Workshop Citadel Layer 12ml - Einzeln wählbar3,60 EUR *12 Milliliter | 300,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Games Workshop Citadel Base 12ml - Einzeln wählbar3,60 EUR *12 Milliliter | 300,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Games Workshop Citadel Air Paints 24ml - Einzeln wählbar6,30 EUR *24 Milliliter | 262,50 EUR / Liter* 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: [3.6, 31.5],
connect: true,
range: {
min: [3.6],
max: [31.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;
}
});
});
});