Profectus / features/hotkey / createHotkey
Function: createHotkey() ​
createHotkey<
T
>(optionsFunc
):any
Lazily creates a hotkey with the given options.
Type Parameters ​
• T extends HotkeyOptions
Parameters ​
optionsFunc ​
() => T
Hotkey options.
Returns ​
any