forked from hazza/dspace-angular
ngIf else ng-template for initial loading work
This commit is contained in:
12
src/app/shared/loading/loading.component.ts
Normal file
12
src/app/shared/loading/loading.component.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-loading',
|
||||
styleUrls: ['./loading.component.scss'],
|
||||
templateUrl: './loading.component.html'
|
||||
})
|
||||
export class LoadingComponent {
|
||||
|
||||
@Input() message: "Loading...";
|
||||
|
||||
}
|
Reference in New Issue
Block a user