()
| 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({ |