Dweghom
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: [16.9, 152],
connect: true,
range: {
min: [16.9],
max: [152]
}
});
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
Conquest Fraktion
Kategorien
Kategorien
- Conquest Dweghom Magmaforged 5th Anniversary Remix Dual Kit
Statt 39,99 EUR38,00 EUR ** inkl. MwSt. zzgl. Versand - Conquest Dweghom Flame Berserkers 5th Anniversary Remix Dual Kit
Statt 39,99 EUR38,00 EUR ** inkl. MwSt. zzgl. Versand - Conquest Dweghom Tempered Steelshaper 5th Anniversary Remix
Statt 24,99 EUR23,90 EUR ** inkl. MwSt. zzgl. Versand - -5%
- -5%Conquest Lore Campaign Pack Crucible of Wills The Stone Face Campaign
Statt 59,99 EUR57,00 EUR ** inkl. MwSt. zzgl. Versand - -5%Dweghom 5th Anniversary Supercharged One Player Starter Set
Statt 159,99 EUR152,00 EUR ** inkl. MwSt. zzgl. Versand - -5%Conquest First Blood Dweghom One Player Starter Set
Statt 149,99 EUR142,50 EUR ** inkl. MwSt. zzgl. Versand - -14%Conquest Dweghom Artisan Series: Exemplar / Hold Raegh
Statt 29,99 EUR25,75 EUR ** inkl. MwSt. zzgl. Versand - -5%Conquest Dweghom Hold Warriors / Hold Ballistae
Statt 39,99 EUR38,00 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: [16.9, 152],
connect: true,
range: {
min: [16.9],
max: [152]
}
});
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;
}
});
});
});