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

Method onClick

src/cdk/testing/tests/testbed.spec.ts:320–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318 clickCount = 0;
319
320 onClick() {
321 this.active = !this.active;
322 this.clickCount++;
323 }
324}
325
326@Directive({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected