Kartenhüllen
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: [1.5, 20.75],
connect: true,
range: {
min: [1.5],
max: [20.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
Sprache
ASOIAF Fraktion
Kategorien
Kategorien
- Dragon Shield Brushed Art Constellations Signoir limited Edition 100 protective Sleeves13,25 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Dual Matte Special Edition Red Gold 100 protective Sleeves12,50 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Matte Art Grand Archive Kongming limited Edition 100 protective Sleeves14,75 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Matte Art Grand Archive Jin Fate Defiant 100 protective Sleeves14,75 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Matte Art Grand Archive Merlin Kingslayer limited Edition 100 protective Sleeves14,75 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Brushed Art Constellations Alaria 100 protective Sleeves12,90 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Brushed Art Halloween 2024 limited Edition 100 protective Sleeves13,25 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Dual Matte Great Wave limited Edition 100 protective Sleeves20,75 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Art Matte Demon Hunters limited Edition 100 protective Sleeves12,50 EUR ** inkl. MwSt. zzgl. Versand
- Gamegenic 50 Matte Tarot Card Game Sleeves 73x122mm Clear / Orange3,90 EUR ** inkl. MwSt. zzgl. Versand
- Star Wars Unlimited Art Sleeves Double Sleeving Pack Space Red9,50 EUR ** inkl. MwSt. zzgl. Versand
- Star Wars Unlimited Art Sleeves Double Sleeving Pack Space Blue9,50 EUR ** inkl. MwSt. zzgl. Versand
- Star Wars Unlimited Art Sleeves Double Sleeving Pack Luke Skywalker9,50 EUR ** inkl. MwSt. zzgl. Versand
- Star Wars Unlimited Art Sleeves Double Sleeving Pack Darth Vader9,50 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Japanese Brushed Art Year of the Dragon 2024 60 protective Sleeves8,25 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Matte Dual Art Year of the Dragon 2024 100 protective Sleeves12,90 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Matte Non Glare Black V2 100 protective Sleeves11,75 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Matte Non Glare Clear V2 100 protective Sleeves11,75 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Brushed Art Constellations Alaric 100 protective Sleeves12,00 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!Dragon Shield Art Matte Katsu Flesh and Blood 100 protective Sleeves10,50 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!Dragon Shield Art Matte Emperor Flesh and Blood 100 protective Sleeves9,00 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Dual Matte Wraith Purple 100 protective Sleeves12,50 EUR ** inkl. MwSt. zzgl. Versand
- Dragon Shield Dual Matte Ember Orange 100 protective Sleeves12,50 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!Dragon Shield Art Matte Chane Flesh and Blood 100 protective Sleeves8,50 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!Dragon Shield Art Matte Lexi Flesh and Blood 100 protective Sleeves8,50 EUR ** inkl. MwSt. zzgl. Versand
- JETZT im SALE!Dragon Shield Art Matte Oldhim Flesh and Blood 100 protective Sleeves8,50 EUR ** inkl. MwSt. zzgl. Versand
- Gamegenic 50 Matte Mini European Sized Boardgame Sleeves 46x71mm Clear / Ruby3,50 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: [1.5, 20.75],
connect: true,
range: {
min: [1.5],
max: [20.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;
}
});
});
});