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

Method onKeydown

src/aria/private/tabs/tabs.ts:255–260  ·  view source on GitHub ↗

Handles keydown events for the tablist.

(event: KeyboardEvent)

Source from the content-addressed store, hash-verified

253
254 /** Handles keydown events for the tablist. */
255 onKeydown(event: KeyboardEvent) {
256 if (!this.disabled()) {
257 this.hasBeenInteracted.set(true);
258 this.keydown().handle(event);
259 }
260 }
261
262 /** The click event manager for the tablist. */
263 onClick(event: PointerEvent) {

Callers

nothing calls this directly

Calls 2

setMethod · 0.80
disabledMethod · 0.45

Tested by

no test coverage detected