Keyboard-Interaction in EJ 1 Angular Dialog
7 Sep 2017 / 1 minute to read
You can use Keyboard shortcut keys as an alternative for mouse actions to interact with the Dialog component. The keyboard interaction will be enabled by default in the Dialog component. It can be disabled by setting
allowKeyboardNavigation to false.Please refer the below table for details about short cut keys and its corresponding usage.
|Up||Moves the dialog at upward direction.|
|Down||Moves the dialog at downward direction.|
|Left||Moves the dialog at left direction.|
|Right||Moves the dialog at right direction.|
|Ctrl Up||Reduces the dialog height.|
|Ctrl Down||Increases the dialog height.|
|Ctrl Left||Reduces the dialog width.|
|Ctrl Right||Increases the dialog width.|
Closes the dialog
N> It will work only if `closeOnEscape` is set to true.