src/app/app.component.ts
selector | app-root |
templateUrl | ./app.component.html |
Methods |
constructor(renderer: Renderer2, routingStateService: RoutingStateService)
|
||||||||||||
Defined in src/app/app.component.ts:10
|
||||||||||||
Parameters :
|
ngOnInit |
ngOnInit()
|
Defined in src/app/app.component.ts:16
|
Returns :
void
|
import { Component } from '@angular/core';
import { Renderer2 } from '@angular/core';
import { OnInit } from '@angular/core';
import { RoutingStateService } from './shared/services/routing-state.service';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
})
export class AppComponent implements OnInit {
constructor(private renderer: Renderer2,
private routingStateService: RoutingStateService) {
}
ngOnInit() {
this.routingStateService.watchRouting();
}
}
<app-sidebar></app-sidebar>
<app-body>
<router-outlet></router-outlet>
</app-body>
<app-http-loader></app-http-loader>
<app-blocker></app-blocker>