Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thoughts on adding support for native lazy loading? #88

Open
JacobDB opened this issue May 6, 2019 · 2 comments
Open

Thoughts on adding support for native lazy loading? #88

JacobDB opened this issue May 6, 2019 · 2 comments

Comments

@JacobDB
Copy link

JacobDB commented May 6, 2019

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/

@aryanrajseo
Copy link

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.

@JacobDB
Copy link
Author

JacobDB commented Apr 12, 2023

I just ended up switching to lazysizes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants