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

Method onKeydown

src/aria/private/grid/grid.ts:215–221  ·  view source on GitHub ↗

Handles keydown events on the grid.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

213
214 /** Handles keydown events on the grid. */
215 onKeydown(event: KeyboardEvent) {
216 if (this.disabled()) return;
217
218 this.hasBeenInteracted.set(true);
219 this.activeCell()?.onKeydown(event);
220 this.keydown().handle(event);
221 }
222
223 /** Handles click events on the grid. */
224 onClick(event: PointerEvent) {

Callers

nothing calls this directly

Calls 3

setMethod · 0.80
onKeydownMethod · 0.65
disabledMethod · 0.45

Tested by

no test coverage detected