graycoreio/daffodil

View on GitHub
libs/design/image/examples/src/load-image/load-image.component.html

Summary

Maintainability
Test Coverage
<daff-image
    src="https://images.unsplash.com/photo-1593519749347-80f101e93113?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=3774&q=80"
    alt="Bottom up view of Basel exhibition centre"
    width="1261"
    height="946"
    (load)="load()">
</daff-image>

<p *ngIf="!loaded">I am not loaded!</p>
<p *ngIf="loaded">I am loaded!</p>