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