import{_ as e,c as t,o as a,a as o}from"./app.ab34650d.js";const u=JSON.parse('{"title":"Module: features/hotkey","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type Aliases","slug":"type-aliases"},{"level":3,"title":"GenericHotkey","slug":"generichotkey"},{"level":3,"title":"Hotkey","slug":"hotkey"},{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"HotkeyType","slug":"hotkeytype"},{"level":3,"title":"hotkeys","slug":"hotkeys"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"createHotkey","slug":"createhotkey"}],"relativePath":"api/modules/features/hotkey.md","lastUpdated":null}'),r={name:"api/modules/features/hotkey.md"},d=o('
\u01AC GenericHotkey: Replace
<Hotkey
<HotkeyOptions
>, { enabled
: ProcessedComputable
<boolean
> }>
profectus/src/features/hotkey.tsx:39
\u01AC Hotkey<T
>: Replace
<T
& BaseHotkey
, { description
: GetComputableType
<T
["description"
]> ; enabled
: GetComputableTypeWithDefault
<T
["enabled"
], true
> }>
Name | Type |
---|---|
T | extends HotkeyOptions |
profectus/src/features/hotkey.tsx:31
\u2022 Const
HotkeyType: typeof HotkeyType
profectus/src/features/hotkey.tsx:18
\u2022 Const
hotkeys: Record
<string
, GenericHotkey
| undefined
>
profectus/src/features/hotkey.tsx:17
\u25B8 createHotkey<T
>(optionsFunc
): Hotkey
<T
>
Name | Type |
---|---|
T | extends HotkeyOptions |
Name | Type |
---|---|
optionsFunc | OptionsFunc <T , BaseHotkey , GenericHotkey > |
Hotkey
<T
>