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('

Module: features/hotkey

Interfaces

Type Aliases

GenericHotkey

\u01AC GenericHotkey: Replace<Hotkey<HotkeyOptions>, { enabled: ProcessedComputable<boolean> }>

Defined in

profectus/src/features/hotkey.tsx:39


Hotkey

\u01AC Hotkey<T>: Replace<T & BaseHotkey, { description: GetComputableType<T["description"]> ; enabled: GetComputableTypeWithDefault<T["enabled"], true> }>

Type parameters

NameType
Textends HotkeyOptions

Defined in

profectus/src/features/hotkey.tsx:31

Variables

HotkeyType

\u2022 Const HotkeyType: typeof HotkeyType

Defined in

profectus/src/features/hotkey.tsx:18


hotkeys

\u2022 Const hotkeys: Record<string, GenericHotkey | undefined>

Defined in

profectus/src/features/hotkey.tsx:17

Functions

createHotkey

\u25B8 createHotkey<T>(optionsFunc): Hotkey<T>

Type parameters

NameType
Textends HotkeyOptions

Parameters

NameType
optionsFuncOptionsFunc<T, BaseHotkey, GenericHotkey>

Returns

Hotkey<T>

',34),h=[d];function s(c,n,i,l,f,y){return a(),t("div",null,h)}var k=e(r,[["render",s]]);export{u as __pageData,k as default};