Skip to main content

Type Alias: KeyboardShortcutsScope

type KeyboardShortcutsScope = "root" | "window";

Defined in: dom/src/piano/shortcuts.ts:68

Where keyboard shortcuts listen. root handles keys only while the piano or one of its descendants has focus; window handles them anywhere on the page except in editable elements.