Necromunda Gelände
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: [14.75, 76.5],
connect: true,
range: {
min: [14.75],
max: [76.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
Kategorien
Kategorien
- Necromunda Cargo-8 Ridgehaulers Gunner Frames [GW WEB EXKLUSIV]22,00 EUR ** inkl. MwSt. zzgl. Versand
- -10%Necromunda Promethium Tanks on Cargo-8 Ridgehauler Trailer
Statt 50,00 EUR45,00 EUR ** inkl. MwSt. zzgl. Versand - -10%Necromunda Promethium Tanks Refuelling Station
Statt 41,00 EUR36,90 EUR ** inkl. MwSt. zzgl. Versand - -10%Necromunda Thatos Pattern Platforms and Walkways
Statt 62,50 EUR56,25 EUR ** inkl. MwSt. zzgl. Versand - -10%Necromunda Thatos Pattern Extended Hab Module
Statt 85,00 EUR76,50 EUR ** inkl. MwSt. zzgl. Versand - -10%
- -10%Necromunda Zone Mortalis Platforms and Stairs
Statt 60,00 EUR54,00 EUR ** inkl. MwSt. zzgl. Versand - -10%
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.75, 76.5],
connect: true,
range: {
min: [14.75],
max: [76.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;
}
});
});
});