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

Method onKeydown

src/aria/private/menu/menu.ts:233–236  ·  view source on GitHub ↗

Handles keyboard events for the menu.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

231
232 /** Handles keyboard events for the menu. */
233 onKeydown(event: KeyboardEvent) {
234 this.hasBeenInteracted.set(true);
235 this.keydownManager().handle(event);
236 }
237
238 /** Handles mouseover events for the menu. */
239 onMouseOver(event: MouseEvent) {

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected