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

Method ngOnInit

packages/core/test/test_bed_effect_spec.ts:71–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 ngOnInit() {
72 effect(
73 () => {
74 log.push('Effect');
75 },
76 {injector: this.injector},
77 );
78 }
79
80 ngDoCheck() {
81 log.push('DoCheck');

Callers

nothing calls this directly

Calls 2

effectFunction · 0.90
pushMethod · 0.45

Tested by

no test coverage detected