[ enum ] ShortcutScope

Description:

A keyboard shortcut binding scope. Used to set when a keyboard shortcut should emit a KeyEvent for onShortcutAction() event handler using a shortcuts() method.

Type: number

Properties:

Name Description

Focused

When the component has focus (default for non-container components).

Ancestor

When any child or their children have a focus (default for container components, other than Window).

Window

When component is in focused window (default for Window component).

Also See: