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: [36.9, 269],
connect: true,
range: {
min: [36.9],
max: [269]
}
});
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: [36.9, 269],
connect: true,
range: {
min: [36.9],
max: [269]
}
});
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
- AVAYA AA1419049-E6 SFP GbE LXDDI 10km 10GBase Transceiver Module36,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- FORTINET FortiGate FG-200D Firewall 16-Port P11534-07-01269,00 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- HP J9782A ProCurve Switch RJ45 24-Port 10/100 2x Gigabit 2x SFP 2530-2464,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- SOPHOS UTM 220 Firewall Gateway 8-Port 2xUSB 10/100/1000ab 159,00 EUR ** inkl. ges. MwSt. zzgl. Versandkosten
- NeuwareHP 469972-002 4G LW B-series 10km FC SFP AK870A GBic Transceiver NEU open box36,90 EUR ** inkl. ges. MwSt. zzgl. Versandkosten