Defined in: packages/svelte-hotkeys/src/HotkeysCtx.ts:21
optional hotkey?: CreateHotkeyCommonOptions;Defined in: packages/svelte-hotkeys/src/HotkeysCtx.ts:32
Defaults for every hotkey registered by createHotkey and createHotkeys. requireReset applies to chords and timeout applies to sequences.
optional hotkeyRecorder?: Partial<Omit<HotkeyChordRecorderOptions & HotkeySequenceRecorderOptions, "maxSteps" | "validate" | "onRecord">>;Defined in: packages/svelte-hotkeys/src/HotkeysCtx.ts:34
Defaults for every createHotkeyRecorder.
optional platform?: HotkeyPlatform;Defined in: packages/svelte-hotkeys/src/HotkeysCtx.ts:27
The user's platform, for labels from getFormatForDisplay, hotkeys, and recorders. On a server, set it from the request with detectPlatform(userAgent).