Skip to content

GetHotkeyFromKeyboardEventParams

Parameters of getHotkeyFromKeyboardEvent.

Import:

import type { GetHotkeyFromKeyboardEventParams } from '@mnaoumov/obsidian-lib/hotkey';

Signature:

export interface GetHotkeyFromKeyboardEventParams

Properties

PropertyTypeDescription
eventKeyboardEventThe key press.
isMacOS?booleanWhether the platform is macOS, where Mod is the Command key rather than Ctrl. Defaults to Platform.isMacOS.

Links to this page: