Sand und Steine
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: [4.5, 10.25],
connect: true,
range: {
min: [4.5],
max: [10.25]
}
});
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
Kategorien
Kategorien
- AK Interactive Big Grey Rocks 100ml5,90 EUR *100 Milliliter | 59,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Desert Soil 100ml 1/355,90 EUR *100 Milliliter | 59,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Small Railroad Ballast 100ml 1/72 H05,90 EUR *100 Milliliter | 59,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Railroad Ballast 100ml5,50 EUR *100 Milliliter | 55,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Splatter Effects Accumulated Dust 100ml7,50 EUR *100 Milliliter | 75,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Splatter Effects Stirred Earth 100ml6,75 EUR *100 Milliliter | 67,50 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Splatter Effects Wet Ground 100ml7,50 EUR *100 Milliliter | 75,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Splatter Effects Dry Mud 100ml7,50 EUR *100 Milliliter | 75,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Neutral Texture For Earth 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Desert Sand 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Beach Sand 250ml9,90 EUR *250 Milliliter | 39,60 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Dry Ground 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Asphalt 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Concrete 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Sandy Desert 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Light Earth 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Splatter Effects Wet Mud 100ml7,50 EUR *100 Milliliter | 75,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Neutral Texture for Rough Terrain 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Dark Earth 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Splatter Effects Dirt 100ml7,50 EUR *100 Milliliter | 75,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Muddy Ground 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Terrains Wet Ground 250ml10,25 EUR *250 Milliliter | 41,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- Cork Chips Fine Basing Material 250ml4,90 EUR *250 Milliliter | 19,60 EUR / Liter* inkl. MwSt. zzgl. Versand
- Grey Stone Fine Basing Material 250ml4,90 EUR *250 Milliliter | 19,60 EUR / Liter* inkl. MwSt. zzgl. Versand
- Desert Rocks Basing Material 250ml4,90 EUR *250 Milliliter | 19,60 EUR / Liter* inkl. MwSt. zzgl. Versand
- -5%Battlefields Basing Glue 50ml
Statt 5,25 EUR5,00 EUR *0.05 Liter | 100,00 EUR / Liter* inkl. MwSt. zzgl. Versand - -4%Battlefield Rocks Battleground Basing 150ml
Statt 5,99 EUR5,75 EUR *150 Milliliter | 38,33 EUR / Liter* inkl. MwSt. zzgl. Versand - -4%Battlefield Brown Battleground Basing 150ml
Statt 5,99 EUR5,75 EUR *150 Milliliter | 38,33 EUR / Liter* inkl. MwSt. zzgl. Versand - -4%Battlefield Snow Basing 150ml
Statt 5,99 EUR5,75 EUR *150 Milliliter | 38,33 EUR / Liter* 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: [4.5, 10.25],
connect: true,
range: {
min: [4.5],
max: [10.25]
}
});
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;
}
});
});
});