keydown
fires when any key is pressed and a thumb of Slider is in focus
keydown: (event: KeyboardEvent) => void;
Parameters:
event
- a native KeyboardEvent object
Example
slider.events.on("keydown", function(event) {
console.log("the focus is on the element and any key is pressed", event);
});
Related sample: Slider. Events
Change log:
added in v7.2