MCPcopy
hub / github.com/angular/components / onKeydown

Method onKeydown

src/aria/private/toolbar/toolbar.ts:187–191  ·  view source on GitHub ↗

Handles keydown events for the toolbar.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

185
186 /** Handles keydown events for the toolbar. */
187 onKeydown(event: KeyboardEvent) {
188 if (this.disabled()) return;
189 this.hasBeenInteracted.set(true);
190 this._keydown().handle(event);
191 }
192
193 onPointerdown(event: PointerEvent) {
194 this.hasBeenInteracted.set(true);

Callers

nothing calls this directly

Calls 3

setMethod · 0.80
disabledMethod · 0.45
_keydownMethod · 0.45

Tested by

no test coverage detected