Last active
March 16, 2019 14:40
-
-
Save mdmoin7/af74c90996bf5fea7336304ff7475e14 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div [ngStyle]="{height:height+'px',width:width+'px'}" *ngIf="isLoading"> | |
<img [src]=loader /> | |
</div> | |
<img [src]=image [ngStyle]="{visibility:isLoading?'hidden':'',height:height+'px',width:width+'px'}" | |
(load)="hideLoader()" (error)="hideLoader()"/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment