airfranceklm / ng-lazy-image

Angular directive for loading responsive image when container (which is preventing reflow) is in viewport.
http://afklm.github.io/ng-lazy-image/
MIT License
351 stars 64 forks source link

Lazy Loading Angular Cards #63

Closed alabgold closed 7 years ago

alabgold commented 7 years ago

Hello, my site is using angular cards to hold images. They are angular material outlined in this demo: https://material.angularjs.org/latest/demo/card Im relatively new to angular and I was wondering if ng-lazy-image could be adapted to work on these cards?

SquadraCorse commented 7 years ago

Yes, cards are just directives ('md-card') and you can place this directive inside the directive itself.