MCPcopy Create free account
hub / github.com/angular/angular / constructor

Method constructor

packages/core/test/authoring/input_signal_spec.ts:22–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 effectCalled = 0;
21
22 constructor() {
23 effect(() => {
24 this.effectCalled++;
25 this.input();
26 });
27 }
28 }
29
30 const fixture = TestBed.createComponent(TestCmp);

Callers

nothing calls this directly

Calls 2

effectFunction · 0.90
inputMethod · 0.80

Tested by

no test coverage detected