We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Are there plans to support lazy loading of images using the 'loading' attribute?
Reference: https://web.dev/native-lazy-loading/#load-in-distance-threshold
Here is the specific section
Images that are defined using the element can also be lazy-loaded: <picture> <source media="(min-width: 800px)" srcset="large.jpg 1x, larger.jpg 2x"> <img src="photo.jpg" loading="lazy"> </picture> Although a browser will decide which image to load from any of the elements, the loading attribute only needs to be included to the fallback element.
Images that are defined using the element can also be lazy-loaded:
<picture> <source media="(min-width: 800px)" srcset="large.jpg 1x, larger.jpg 2x"> <img src="photo.jpg" loading="lazy"> </picture>
Although a browser will decide which image to load from any of the elements, the loading attribute only needs to be included to the fallback element.
The text was updated successfully, but these errors were encountered:
Anyone?
Sorry, something went wrong.
No branches or pull requests
Are there plans to support lazy loading of images using the 'loading' attribute?
Reference: https://web.dev/native-lazy-loading/#load-in-distance-threshold
Here is the specific section
The text was updated successfully, but these errors were encountered: