Defined in: hotkeys-provider.ts:29
Options for provideHotkeys.
optional appHotkeys?: Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>;Defined in: hotkeys-provider.ts:35
Every app hotkey, from defineAppHotkeys. Listed by injectAppHotkeyList whether or not they are registered.
optional customHotkeys?:
| CustomHotkeys<Readonly<Record<string, AppHotkey<string, HotkeyChord | HotkeySequence | null>>>>
| null;Defined in: hotkeys-provider.ts:40
Starting custom hotkeys, such as saved data. Read once; the provider owns the state afterwards. Invalid entries are ignored with a warning.
optional defaultOptions?: HotkeysProviderOptions;Defined in: hotkeys-provider.ts:30
optional onCustomHotkeysChange?: (customHotkeys) => void;Defined in: hotkeys-provider.ts:42
Called with the custom hotkeys after every change, ready to save.
CustomHotkeys
void