Skip to content
Hotkeys API Reference

injectHotkeysContext

ts
function injectHotkeysContext(): HotkeysContextValue;

Defined in: hotkeys-provider.ts:284

Returns the nearest provider's context. Injecting it activates that provider's scope.

Returns

HotkeysContextValue