Skip to main content

HotkeyExtra

HotkeyExtra = object

Properties

allowInputFields

allowInputFields: boolean

Fire the events even on input fields.

Default

false

alwaysTriggerKeyUp

alwaysTriggerKeyUp: boolean

Always fire the onKeyUp action, even if an onKeyHeld action was triggered.

Default

false

heldThresholdMs

heldThresholdMs: number

Number of milliseconds before triggering the onKeyHeld callback.

Default

1000

id

id: string

Developer friendly id to identify the hotkey.

Default

Random UID

ignoreConflicts

ignoreConflicts: boolean

Skip the conflict check for this hotkey.

Default

false