MCPcopy Create free account
hub / github.com/angular/components / onKeydown

Method onKeydown

src/aria/private/toolbar/toolbar.ts:202–206  ·  view source on GitHub ↗

Handles keydown events for the toolbar.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

200
201 /** Handles keydown events for the toolbar. */
202 onKeydown(event: KeyboardEvent) {
203 if (this.disabled()) return;
204 this.hasBeenInteracted.set(true);
205 this._keydown().handle(event);
206 }
207
208 onPointerdown(event: PointerEvent) {
209 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