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