Modiphius Entertainment
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: [18.5, 149.5],
connect: true,
range: {
min: [18.5],
max: [149.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
Sprache
Maßstab
Kategorien
Kategorien
- Fallout Wasteland Warfare Cult of the Mothman, Mothman Eclipse45,75 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Raiders Disciples Leaders (Englisch)32,75 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Raiders Operators Bosses (Englisch)32,75 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Nuka World Rules Expansion (Englisch)48,50 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Frost Atronach Expansion Resin25,00 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Ghosts of Yngvild Expansion Resin35,90 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Draugr Masters Expansion Resin32,00 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Thalmor Patrol Expansion Resin35,90 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Thieves Guild Expansion Resin35,90 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Survivors Washington Personalities31,50 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Draugr Scourges Expansion Resin32,50 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Brotherhood of Steel Citadel Command52,50 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Survivors Heroes of Sanctuary Hills34,75 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Accessories Forged in the Fire Rules Expansion (Englisch)40,90 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Brotherhood of Steel Heavy Armour (T45)46,50 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Brotherhood of Steel Combat Patrol56,25 EUR ** inkl. MwSt. zzgl. Versand
- Fallout Wasteland Warfare Capital Rules Expansion (Englisch)45,75 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!The Elder Scrolls Call To Arms Dawnguard Vampire Hunters Resin35,90 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!
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: [18.5, 149.5],
connect: true,
range: {
min: [18.5],
max: [149.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;
}
});
});
});