Skip to content

setHotkey(hotkey)

setHotkey sets the hot key configuration.

Reference

typescript
(hotkey: Partial<Hotkey>) => void

Parameters

  • hotkey Hot key configuration.
    • enabled Whether hot keys are enabled.
    • exclude Global hot key names to exclude.

Returns

setHotkey returns undefined .

Usage

Basic