The event occurs when a key is pressed. You can access the event information, using the event parameter.
Further information about key events
console.log(event); /* event.type event.target event.which event.altKey event.keyCode event.key event.shiftKey event.ctrlKey */ //Example if (event.key == "Enter") { app.triggerEvent("onClick", "btnSave"); };
Last updated 1 year ago