Modellieren
Sortierung
Produktfilter
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: [3, 29],
connect: true,
range: {
min: [3],
max: [29]
}
});
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
- Vallejo Plastic Putty 18ml 70.4003,00 EUR *0.018 Liter | 150,00 EUR / Liter* inkl. MwSt. zzgl. Versand
- AK Interactive Greenpower 2 Component Modeling Putty7,50 EUR *0.1 Meter | 75,00 EUR / Meter* inkl. MwSt. zzgl. Versand
- Kneadatite Green Stuff Sculpting Epoxy 85g17,25 EUR *0.085 Kilogramm | 191,67 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Acrylic Resin Pulver 350g4,90 EUR *0.35 Kilogramm | 14,00 EUR / Kilogramm* inkl. MwSt. zzgl. Versand
- Green Putty (Flüssigspachtel) 20ml3,75 EUR *0.02 Liter | 187,50 EUR / Liter* inkl. MwSt. zzgl. Versand