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

Method onClick

src/aria/private/listbox/listbox.ts:242–247  ·  view source on GitHub ↗
(event: PointerEvent)

Source from the content-addressed store, hash-verified

240 }
241
242 onClick(event: PointerEvent) {
243 if (!this.disabled()) {
244 this.hasBeenInteracted.set(true);
245 this.clickManager().handle(event);
246 }
247 }
248
249 onFocusIn(event?: FocusEvent) {
250 this.hasBeenInteracted.set(true);

Callers 1

listbox.spec.tsFile · 0.45

Calls 2

setMethod · 0.80
disabledMethod · 0.45

Tested by

no test coverage detected