Keyboard shortcuts can speed up operation for end users while working in the forms you are creating, especially for common action while doing data entry. In this short blog I show you how to capture and react to a keyboard event in your page.
Each Visual Builder UI component exposes events for keyboard and mouse events, including for example keyPress event - which is invoked when you press a key in your keyboard. You can hook up an action chain to that event and react to that action.The next thing you'll want to know is which key was pressed - and you can use event parameters to get this info.
In the video below I show how to add a couple of parameters to the event and then assign values to them that will get you access to the key pressed (and the modifier keys such as ctrl and alt). Once you have that info you can condition your action based on the key pressed.
In the video I'm using a ctrl+N shortcut to add a row to an editable table - which also shows you how to use a dataProviderEvent to mutate the ADP populating the table to add an empty row (with a default value in a field).