MCPcopy Index your code
hub / github.com/angular/angular / click

Method click

packages/core/test/component_fixture_spec.ts:92–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 text: string = '1';
91
92 click() {
93 Promise.resolve(null).then((_) => {
94 this.text += '1';
95 });
96 }
97}
98
99@Component({

Calls 2

thenMethod · 0.65
resolveMethod · 0.65

Tested by 8

selectScenarioFunction · 0.36
createFunction · 0.36
destroyFunction · 0.36
updateFunction · 0.36
detectChangesFunction · 0.36
acceptFunction · 0.36