Zustand
für das Gerät
Hersteller
Preisspanne
€
―
€
"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, 109],
connect: true,
range: {
min: [16.9],
max: [109]
}
});
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;
}
});
});
});
Zustand
für das Gerät
Preisspanne
€
―
€
"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, 109],
connect: true,
range: {
min: [16.9],
max: [109]
}
});
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;
}
});
});
});
Hersteller
- ArtikelpaketDatalogic Gryphon GD4590-BK mit USB-Kabel 1D 2D QR Code Handscanner GD4500 schwarz incl. Halter109,00 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- ArtikelpaketDatalogic Gryphon GD4430-BK-B USB + seriell 2D QR Code Handscanner mit Fuß GD4400 schwarz55,00 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- Opticon OPR-2001 USB Handscanner Barcode Scanner Barcodeleser Slim 160cmab 23,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- Datalogic Gryphon GD4590-BK mit USB-Kabel 1D 2D QR Code Handscanner GD4500 schwarz89,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- ArtikelpaketDatalogic Gryphon GD4430-BK USB 2D QR Code Handscanner GD4400 schwarz incl. Halter55,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- Datalogic Gryphon GD4430-BK USB 2D QR Code Handscanner GD4400 schwarz47,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten