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

Method onKeydown

src/aria/private/listbox/listbox.ts:235–240  ·  view source on GitHub ↗

Handles keydown events for the listbox.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

233
234 /** Handles keydown events for the listbox. */
235 onKeydown(event: KeyboardEvent) {
236 if (!this.disabled()) {
237 this.hasBeenInteracted.set(true);
238 this.keydown().handle(event);
239 }
240 }
241
242 onClick(event: PointerEvent) {
243 if (!this.disabled()) {

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
disabledMethod · 0.45

Tested by

no test coverage detected