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

Method onClick

src/aria/private/tabs/tabs.ts:263–268  ·  view source on GitHub ↗

The click event manager for the tablist.

(event: PointerEvent)

Source from the content-addressed store, hash-verified

261
262 /** The click event manager for the tablist. */
263 onClick(event: PointerEvent) {
264 if (!this.disabled()) {
265 this.hasBeenInteracted.set(true);
266 this.clickManager().handle(event);
267 }
268 }
269
270 /** Handles focusin events for the tablist. */
271 onFocusIn(event?: FocusEvent) {

Callers 1

tabs.spec.tsFile · 0.45

Calls 2

setMethod · 0.80
disabledMethod · 0.45

Tested by

no test coverage detected