Defined in: controllers/hotkey-hint.ts:17
Modifier hint controller. Getter arguments can read reactive host properties.
new HotkeyHintController(
host,
hotkey,
options?): HotkeyHintController;Defined in: controllers/hotkey-hint.ts:22
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:35
Current visibility. True only while the hotkey can fire: some registration of it is enabled and in an active scope. A hotkey on an element counts only while focus is inside it.
boolean
hostConnected(): void;Defined in: controllers/hotkey-hint.ts:44
Subscribes on connection, then requests renders only when hint visibility changes. Reconnecting always requests one, since the hint may have changed while disconnected.
void
ReactiveController.hostConnectedhostDisconnected(): void;Defined in: controllers/hotkey-hint.ts:66
Releases the subscription and clears cached visibility while disconnected.
void
ReactiveController.hostDisconnectedhostUpdate(): void;Defined in: controllers/hotkey-hint.ts:61
Re-evaluates getter arguments when host properties trigger an update.
void
ReactiveController.hostUpdate