Skip to content

Commit

Permalink
docs: unlazy falls back to eager image loading
Browse files Browse the repository at this point in the history
  • Loading branch information
johannschopplich committed Mar 12, 2024
1 parent aab15aa commit dde0117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ unlazy is a universal lazy loading library leveraging native browser APIs. It's
Images are initially rendered with blurry placeholders, giving the user an impression of the page layout and content. As the images enter the viewport, they are replaced with the full-quality versions, providing a smoother experience. This approach prioritizes the initial rendering of the page and improves the perceived performance for users, especially when the connection is slow or unstable.

::: info
Although the `loading="lazy"` attribute is supported in all major browsers, it is only available in Safari 16.4 (released March 2023) and later versions by default. It is important to consider this limitation when using unlazy for your project, as it might impact the user experience for visitors using older Safari versions or other unsupported browsers.
Although the `loading="lazy"` attribute is supported in all major browsers, it is only available in Safari 16.4 (released March 2023) and later versions by default. If native lazy loading is not supported, unlazy will fall back to eager loading.
:::

## How It Works
Expand Down

0 comments on commit dde0117

Please sign in to comment.