keydown
fires when any key is pressed and the Input control is in focus
keydown: (event: KeyboardEvent) => void;
Parameters:
event: KeyboardEvent
- a native KeyboardEvent object
Example
form.getItem("input").events.on("keydown", function(event) {
console.log(event);
});
Change log:
added in v7.2