Mantic Games
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: [8.5, 125.75],
connect: true,
range: {
min: [8.5],
max: [125.75]
}
});
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
Sprache
Maßstab
KoW Fraktion
Spielerzahl
Spieldauer
Komplexität
Spielart
Altersempfehlung
Kategorien
Kategorien
- -16%KoW Northern Alliance Ice Elemental Regiment
Statt 40,00 EUR33,50 EUR ** inkl. MwSt. zzgl. Versand - -16%
- -16%
- -16%
- -16%KoW Basilean Sisterhood Panther Lancer Regiment
Statt 35,00 EUR29,25 EUR ** inkl. MwSt. zzgl. Versand - -16%KoW Forces of the Abyss Abyssal Horsemen Regiment
Statt 40,00 EUR33,50 EUR ** inkl. MwSt. zzgl. Versand - -17%
- -17%KoW Forces of the Abyss Archfiend of the Abyss
Statt 50,00 EUR41,75 EUR ** inkl. MwSt. zzgl. Versand - -16%
- -16%KoW Forces of the Abyss Lower Abyssal Regiment
Statt 32,50 EUR27,25 EUR ** inkl. MwSt. zzgl. Versand - -16%
- -16%
- -16%KoW Forces of Nature Artakl Ghekkotah Clutch Warrior
Statt 12,50 EUR10,50 EUR ** inkl. MwSt. zzgl. Versand - -16%
- -17%KoW Abyssal Supreme Ironcaster on Great Winged Halfbreed
Statt 50,00 EUR41,75 EUR ** 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: [8.5, 125.75],
connect: true,
range: {
min: [8.5],
max: [125.75]
}
});
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;
}
});
});
});