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

Method constructor

packages/core/test/change_detection_scheduler_spec.ts:1031–1035  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1029 readonly display = signal('initial');
1030
1031 constructor() {
1032 effect(() => {
1033 this.display.set(this.source());
1034 });
1035 }
1036 }
1037
1038 const fixture = TestBed.createComponent(App);

Callers

nothing calls this directly

Calls 2

effectFunction · 0.90
setMethod · 0.65

Tested by

no test coverage detected