SettingEx.addHotkey method
SettingEx › addHotkey
Adds a HotkeyComponent to the setting.Signature:
addHotkey(callback: (hotkey: HotkeyComponent) => void): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (hotkey: HotkeyComponent) => void | The callback to call with the component. |
Returns: this — The setting instance.