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

Method onKeydown

src/aria/private/toolbar/toolbar.ts:188–192  ·  view source on GitHub ↗

Handles keydown events for the toolbar.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

186
187 /** Handles keydown events for the toolbar. */
188 onKeydown(event: KeyboardEvent) {
189 if (this.disabled()) return;
190 this.hasBeenInteracted.set(true);
191 this._keydown().handle(event);
192 }
193
194 onPointerdown(event: PointerEvent) {
195 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