paveisistemas / ionic-image-lazy-load

Directive to Ionic Framework that only loads an image when it is seen by the user.
http://codepen.io/pavei/pen/oFpCy
MIT License
366 stars 117 forks source link

ion-spinner only for visible elements #29

Open somtam opened 9 years ago

somtam commented 9 years ago

Hello, and thanks for this great tool. I would like to know if there is a way to insert the spinner only when the element containgn the image is displayed on screen. This because, if we have 20 images vertically displayed, we have 20 spinner going in the same time, and this cause the CPU works a lot. Thanks again for support!