Skip to content
Hotkeys API Reference

useHotkeyScopesState

ts
function useHotkeyScopesState(): HotkeyScopesState;

Defined in: useHotkeyScopesState.ts:9

Reads the hotkey manager's scope state: the active scopes, the exclusive scope that owns the keyboard, and the scopes it allows or suspends.

Returns

HotkeyScopesState