Skip to content

Commit

Permalink
Correct lazy loading attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
domchristie authored Aug 21, 2024
1 parent 0433ee7 commit 6926ce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _source/handbook/04_frames.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ After navigation finishes, a Frame will set the `[complete]` attribute on the

## Lazy-Loading Frames

Frames that aren't visible when the page is first loaded can be marked with `loading="lazy"` such that they don't start loading until they become visible. This works exactly like the `lazy=true` attribute on `img`. It's a great way to delay loading of frames that sit inside `summary`/`detail` pairs or modals or anything else that starts out hidden and is then revealed.
Frames that aren't visible when the page is first loaded can be marked with `loading="lazy"` such that they don't start loading until they become visible. This works exactly like the `loading="lazy"` attribute on `img`. It's a great way to delay loading of frames that sit inside `summary`/`detail` pairs or modals or anything else that starts out hidden and is then revealed.


## Cache Benefits to Loading Frames
Expand Down

0 comments on commit 6926ce9

Please sign in to comment.