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

Method ngOnInit

packages/core/test/acceptance/change_detection_spec.ts:901–903  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

899 constructor(public parentComp: ParentComp) {}
900
901 ngOnInit() {
902 this.check('OnInit');
903 }
904 ngAfterContentInit() {
905 this.check('AfterContentInit');
906 }

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected