src/app/app.component.ts
selector | app-root |
styleUrls | app.component.scss |
templateUrl | app.component.html |
loaded |
loaded: |
Default value: false
|
title |
title: |
Default value: app
|
import {AfterViewInit, Component} from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent implements AfterViewInit {
title = 'app';
loaded = false;
ngAfterViewInit(): void {
this.loaded = true;
}
}