I'm using the srcset addon to load images on my website and wanted to fade-in images once loaded. I realized that the lazy-hidden class is added when the lazyshow event is triggered but the lazyload event never gets triggered thus the class for the image never changes to lazy-loaded.
I'm using the srcset addon to load images on my website and wanted to fade-in images once loaded. I realized that the
lazy-hidden
class is added when thelazyshow
event is triggered but thelazyload
event never gets triggered thus the class for the image never changes tolazy-loaded
.Same problem occurs in the demo: http://ressio.github.io/lazy-load-xt/demo/srcset.htm
Is this the desired behavior? If not, is there a workaround for this?
Thanks!