Skip to content
On this page

Interface: HotkeyOptions

features/hotkey.HotkeyOptions

An object that configures a Hotkey.

Properties

description

description: Computable<string>

The description of this hotkey, to display in the settings.

Defined in

profectus/src/features/hotkey.tsx:32


enabled

Optional enabled: Computable<boolean>

Whether or not this hotkey is currently enabled.

Defined in

profectus/src/features/hotkey.tsx:28


key

key: string

The key tied to this hotkey

Defined in

profectus/src/features/hotkey.tsx:30


onPress

onPress: VoidFunction

What to do upon pressing the key.

Defined in

profectus/src/features/hotkey.tsx:34