Skip to content
Snippets Groups Projects
Commit 4a353fce authored by Giuseppe Digilio's avatar Giuseppe Digilio
Browse files

Added parameter to hide loading message

parent 5995f87e
Branches
Tags
No related merge requests found
<div>
<label *ngIf="message">{{ message }}</label>
<label *ngIf="showMessage && message">{{ message }}</label>
<div class="loader">
<span class="l-1"></span>
<span class="l-2"></span>
......
......@@ -12,6 +12,7 @@ import { Subscription } from 'rxjs/Subscription';
export class LoadingComponent implements OnDestroy, OnInit {
@Input() message: string;
@Input() showMessage = true;
private subscription: Subscription;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment