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

Method onClick

src/aria/private/grid/grid.ts:224–229  ·  view source on GitHub ↗

Handles click events on the grid.

(event: PointerEvent)

Source from the content-addressed store, hash-verified

222
223 /** Handles click events on the grid. */
224 onClick(event: PointerEvent) {
225 if (this.disabled()) return;
226
227 this.hasBeenInteracted.set(true);
228 this.clickManager().handle(event);
229 }
230
231 /** Handles focusin events on the grid. */
232 onFocusIn(event: FocusEvent) {

Callers 1

grid.spec.tsFile · 0.45

Calls 2

setMethod · 0.80
disabledMethod · 0.45

Tested by

no test coverage detected