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

Method onKeydown

src/aria/private/menu/menu.ts:568–571  ·  view source on GitHub ↗

Handles keyboard events for the menu.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

566
567 /** Handles keyboard events for the menu. */
568 onKeydown(event: KeyboardEvent) {
569 this.hasBeenInteracted.set(true);
570 this.keydownManager().handle(event);
571 }
572
573 /** Handles click events for the menu bar. */
574 onClick(event: MouseEvent) {

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected