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

Method ngOnInit

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

Source from the content-addressed store, hash-verified

883 constructor(public parentComp: ParentComp) {}
884
885 ngOnInit() {
886 this.check('OnInit');
887 }
888 ngAfterContentInit() {
889 this.check('AfterContentInit');
890 }

Callers

nothing calls this directly

Calls 1

checkMethod · 0.95

Tested by

no test coverage detected