import{_ase,cast,oasa,Naso}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Module: features/hotkey","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/hotkey.md","lastUpdated":null}'),r={name:"api/modules/features/hotkey.md"},s=o('<h1id="module-features-hotkey"tabindex="-1">Module:features/hotkey<aclass="header-anchor"href="#module-features-hotkey"aria-label="Permalink to "Module: features/hotkey""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><ul><li><ahref="../../interfaces/features/hotkey.BaseHotkey">BaseHotkey</a></li><li><ahref="../../interfaces/features/hotkey.HotkeyOptions">HotkeyOptions</a></li></ul><h2id="type-aliases"tabindex="-1">TypeAliases<aclass="header-anchor"href="#type-aliases"aria-label="Permalinkto"TypeAliases""></a></h2><h3id="generichotkey"tabindex="-1">GenericHotkey<aclass="header-anchor"href="#generichotkey"aria-label="Permalinkto"GenericHotkey""></a></h3><p>Ƭ<strong>GenericHotkey</strong>:<ahref="./feature#replace"><code>Replace</code></a><<code>Hotkey</code><<ahref="../../interfaces/features/hotkey.HotkeyOptions"><code>HotkeyOptions</code></a>>,{<code>enabled</code>:<ahref="./../util/computed#processedcomputable"><code>ProcessedComputable</code></a><<code>boolean</code>>}></p><p>Atypethatmatchesanyvalid<ahref="./hotkey#hotkey">Hotkey</a>object.</p><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/hotkey.tsx#L55"target="_blank"rel="noreferrer">profectus/src/features/hotkey.tsx:55</a></p><hr><h3id="hotkey"tabindex="-1">Hotkey<aclass="header-anchor"href="#hotkey"aria-label="Permalinkto"Hotkey""></a></h3><p>Ƭ<strong>Hotkey</strong><<code>T</code>>:<ahref="./feature#replace"><code>Replace</code></a><<code>T</code>&<ahref="../../interfaces/features/hotkey.BaseHotkey"><code>BaseHotkey</code></a>,{<code>description</code>:<ahref="./../util/computed#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"description"</code>]>;<code>enabled</code>:<ahref="./../util/computed#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"enabled"</code>],<code>true</code>>}></p><p>Anobjectthatrepresentsahotkeyshortcutthatperformsanactionuponakeysequencebeingpressed.</p><h4id="type-parameters"tabindex="-1">Typeparameters<aclass="header-anchor"href="#type-parameters"aria-label="Permalinkto"Typeparameters""></a></h4><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>T</code></td><tdstyle="text-align:left;">extends<ahref="../../interfaces/features/hotkey.HotkeyOptions"><code>HotkeyOptions</code></a></td></tr></tbody></table><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/hotkey.tsx#L46"target="_blank"rel="noreferrer">profectus/src/features/hotkey.tsx:46</a></p><h2id="variables"tabindex="-1">Variables<aclass="header-anchor"href="#variables"aria-label="Permalinkto"Variables""></a></h2><h3id="hotkeytype"tabindex="-1">HotkeyType<aclass="header-anchor"href="#hotkeytype"aria-label="Permalinkto"HotkeyType""></a></h3><p>•<code>Const</code><strong>HotkeyType</strong>:typeof<ahref="./hotkey#hotkeytype"><code>HotkeyType</code></a></p><p>Asymbolusedtoidentify<ahref="./hotkey#hotkey">Hotkey</a>features.</p><h4id="defined-in-2"tabin