Defined in: controllers/hotkey-hint.ts:16
Modifier hint controller. Getter arguments can read reactive host properties.
new HotkeyHintController(
host,
hotkey,
options?): HotkeyHintController;Defined in: controllers/hotkey-hint.ts:21
Attaches to the host; getter arguments can read changing reactive properties.
ReactiveControllerHost
| RegisterableHotkey | AppHotkey<string, HotkeyChord | HotkeySequence | null> | (() => RegisterableHotkey | AppHotkey<string, HotkeyChord | HotkeySequence | null>)
HeldModifierOptions | (() => HeldModifierOptions)
HotkeyHintController
get value(): boolean;Defined in: controllers/hotkey-hint.ts:31
Current visibility; combine with the action’s enabled state when rendering.
boolean
hostConnected(): void;Defined in: controllers/hotkey-hint.ts:36
Subscribes on connection and requests renders only when hint visibility changes.
void
ReactiveController.hostConnectedhostDisconnected(): void;Defined in: controllers/hotkey-hint.ts:55
Releases the subscription and clears cached visibility while disconnected.
void
ReactiveController.hostDisconnectedhostUpdate(): void;Defined in: controllers/hotkey-hint.ts:50
Re-evaluates getter arguments when host properties trigger an update.
void
ReactiveController.hostUpdate