layzr.js
layzr.js copied to clipboard
Thoughts on adding support for native lazy loading?
Some browsers now support a loading attribute on images and iframes. A recent article on Smashing details how lazy loading scripts can be modified to first check for native support for lazy loading before triggering JavaScript based solutions.
What are your thoughts on adding a parameter (something like prefer_native) that would check if native lazy loading is supported, and only run Layzr if it's not supported?
https://www.smashingmagazine.com/2019/05/hybrid-lazy-loading-progressive-migration-native/
strange this old ticket is still open with no update from the author. i had plan to use the script that support native "lazy" loading attribute.
I just ended up switching to lazysizes