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

Method onClick

src/aria/private/tree/tree.ts:440–445  ·  view source on GitHub ↗

Handles click events on the tree.

(event: PointerEvent)

Source from the content-addressed store, hash-verified

438
439 /** Handles click events on the tree. */
440 onClick(event: PointerEvent) {
441 if (!this.disabled()) {
442 this.hasBeenInteracted.set(true);
443 this.clickManager().handle(event);
444 }
445 }
446
447 /** Handles focusin events on the tree. */
448 onFocusIn(event?: FocusEvent) {

Callers 1

tree.spec.tsFile · 0.45

Calls 2

setMethod · 0.80
disabledMethod · 0.45

Tested by

no test coverage detected