GetHotkeyFromKeyboardEventParams
Parameters of getHotkeyFromKeyboardEvent.
Import:
import type { GetHotkeyFromKeyboardEventParams } from '@mnaoumov/obsidian-lib/hotkey';Signature:
export interface GetHotkeyFromKeyboardEventParamsProperties
| Property | Type | Description |
|---|---|---|
| event | KeyboardEvent | The key press. |
| isMacOS? | boolean | Whether the platform is macOS, where Mod is the Command key rather than Ctrl. Defaults to Platform.isMacOS. |
Links to this page: