Keyboard interaction
7 Sep 20171 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.
Shortcut Key | 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. |
Esc |
Closes the dialog N> It will work only if `closeOnEscape` is set to true. |