diff --git a/src/app/components/loading-screen/loading-screen.component.html b/src/app/components/loading-screen/loading-screen.component.html index a400711..c0da824 100644 --- a/src/app/components/loading-screen/loading-screen.component.html +++ b/src/app/components/loading-screen/loading-screen.component.html @@ -1 +1,2 @@
loading-screen works!
+{{status}}
diff --git a/src/app/components/loading-screen/loading-screen.component.ts b/src/app/components/loading-screen/loading-screen.component.ts index 98e6f2f..270dc19 100644 --- a/src/app/components/loading-screen/loading-screen.component.ts +++ b/src/app/components/loading-screen/loading-screen.component.ts @@ -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 { }