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

Method ngOnInit

src/material/tabs/tab-group.spec.ts:1407–1412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1405 tabs!: Observable<any>;
1406
1407 ngOnInit() {
1408 // Use ngOnInit because there is some issue with scheduling the async task in the constructor.
1409 this.tabs = new Observable((observer: any) => {
1410 setTimeout(() => observer.next(this._tabs));
1411 });
1412 }
1413}
1414
1415@Component({

Callers

nothing calls this directly

Calls 1

nextMethod · 0.45

Tested by

no test coverage detected