Skip to content

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

Defined in ​

profectus/src/features/hotkey.tsx:50