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