import{_ as t,c as r,a0 as a,o}from"./chunks/framework.P9qPzDnn.js";const f=JSON.parse('{"title":"Interface: HotkeyOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/hotkey/interfaces/HotkeyOptions.md","filePath":"api/features/hotkey/interfaces/HotkeyOptions.md","lastUpdated":null}'),n={name:"api/features/hotkey/interfaces/HotkeyOptions.md"};function s(i,e,c,h,d,l){return o(),r("div",null,e[0]||(e[0]=[a('
Profectus / features/hotkey / HotkeyOptions
An object that configures a Hotkey.
description:
MaybeRefOrGetter
<string
>
The description of this hotkey, to display in the settings.
profectus/src/features/hotkey.tsx:25
optional
enabled:MaybeRefOrGetter
<boolean
>
Whether or not this hotkey is currently enabled.
profectus/src/features/hotkey.tsx:21
key:
string
The key tied to this hotkey
profectus/src/features/hotkey.tsx:23
onPress: (
e
?) =>void
What to do upon pressing the key.
void