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

Fade-in animation #16

Open berkaytheunicorn opened 9 years ago

berkaytheunicorn commented 9 years ago

hi, how can we add fade-in animation?

burakoztirpan commented 9 years ago

you can write in loadImage function

$element.bind('load', function (e) ) { $element.addClass('fadeIn animated'); }

armenbadalyan commented 8 years ago

Please see my fork implementing this https://github.com/armenbadalyan/ionic-image-lazy-load