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

Method ngOnInit

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

Source from the content-addressed store, hash-verified

857 constructor(public parentComp: ParentComp) {}
858
859 ngOnInit() {
860 this.check('OnInit');
861 }
862 ngAfterContentInit() {
863 this.check('AfterContentInit');
864 }

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected