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

Method click

src/cdk/testing/tests/test-main-component.ts:84–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 }
83
84 click() {
85 this.counter++;
86 setTimeout(() => {
87 this.asyncCounter++;
88 this._cdr.markForCheck();
89 }, 500);
90 }
91
92 onKeyDown(event: KeyboardEvent) {
93 if (event.keyCode === ENTER && event.key === 'Enter') {

Callers

nothing calls this directly

Calls 1

markForCheckMethod · 0.80

Tested by

no test coverage detected