add status to loading screen
This commit is contained in:
parent
9bdc1c9cd1
commit
2497563ad6
@ -1 +1,2 @@
|
|||||||
<p>loading-screen works!</p>
|
<p>loading-screen works!</p>
|
||||||
|
<p>{{status}}</p>
|
||||||
|
@ -1,13 +1,18 @@
|
|||||||
import { Component, OnInit } from '@angular/core';
|
import { Component, OnInit, Input } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
templateUrl: './loading-screen.component.html',
|
templateUrl: './loading-screen.component.html',
|
||||||
styleUrls: ['./loading-screen.component.scss']
|
styleUrls: ['./loading-screen.component.scss']
|
||||||
})
|
})
|
||||||
export class LoadingScreenComponent implements OnInit {
|
export class LoadingScreenComponent implements OnInit {
|
||||||
|
@Input() status!:string
|
||||||
|
|
||||||
constructor() { }
|
constructor() { }
|
||||||
|
|
||||||
|
SetStatus(newStatus:string){
|
||||||
|
this.status = newStatus
|
||||||
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user