Quantcast
Channel: Animate native lazy load image (loading='“lazy”) - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Balduin for Animate native lazy load image (loading='“lazy”)

Unfortunately it is not as simple as the simple jQuery solution above..on('load') does not work properly for all Browsers (like Chrome) as discussed here: Check if an image is loaded (no errors) with...

View Article


Answer by Design Pesendorfer for Animate native lazy load image...

I managed to use a simple jQuery solution, since its already used in my case: //fade in lazy loaded images $('article img').on('load', function(){ $(this).addClass('loaded'); });The images have 0...

View Article


Animate native lazy load image (loading='“lazy”)

Currently, images with the attribute loading="lazy" (https://web.dev/native-lazy-loading/) are displayed immediately when loaded, i.e. without fade-in effect.Is there a way to animate images with the...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>