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

Lazy loading attribute support #43

Open
gjb2048 opened this issue Jun 8, 2022 · 1 comment
Open

Lazy loading attribute support #43

gjb2048 opened this issue Jun 8, 2022 · 1 comment

Comments

@gjb2048
Copy link

gjb2048 commented Jun 8, 2022

Ref: https://developer.mozilla.org/en-US/docs/Web/Performance/Lazy_loading#images_and_iframes

Add support for "loading='lazy'" :).

Also info on https://caniuse.com/?search=loading

@brendanheywood
Copy link
Collaborator

Thinking if would be better if we converted over to this method but then added support back in for safari via a polyfill:

https://github.com/mfranzke/loading-attribute-polyfill

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