Haus Stark
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: [13.9, 106.9],
connect: true,
range: {
min: [13.9],
max: [106.9]
}
});
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
ASOIAF Fraktion
Kategorien
Kategorien
- A Song Of Ice And Fire Stark Winterfell Guards (DE/EN/ES/FR/HU/PL)37,25 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Crannogmen Bog Devils (DE/EN/ES/FR)34,90 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Crannogman Trackers (DE/EN/ES/FR)37,25 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Karstark Loyalists (DE/EN/ES/FR)34,90 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Karstark Spearmen (DE/EN/ES/FR)34,90 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Mormont She-Bears (DE/EN/ES/FR)34,90 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Tully Sworn Shields (DE/EN/ES/FR)34,90 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Brushed Art GoT House Stark 100 protective Sleeves13,90 EUR ** inkl. MwSt. zzgl. Versand
- A Song Of Ice And Fire Stark Umber Berserkers (DE/ES/FR/IT/CN/RU)34,90 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!A Song Of Ice And Fire Stark Sworn Swords (DE/ES/FR/IT/CN/RU)24,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: [13.9, 106.9],
connect: true,
range: {
min: [13.9],
max: [106.9]
}
});
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;
}
});
});
});