am-editor-001/docs/api/hotkey.md

415 B

Hotkey

Editor hotkeys/shortcut keys

Type: HotkeyInterface

Constructor

new (engine: EngineInterface): HotkeyInterface

Method

trigger

Trigger a keyboard event

trigger(e: KeyboardEvent): void;

enable

Enable shortcut keys

enable(): void;

disable

Disable shortcut keys

disable(): void;

destroy

destroy

destroy(): void;