Skip to content

Commit

Permalink
Merge pull request #202 from domchristie/patch-2
Browse files Browse the repository at this point in the history
Correct lazy loading attribute
  • Loading branch information
dhh authored Aug 21, 2024
2 parents 0433ee7 + 6926ce9 commit 7e60963
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 7e60963

Please sign in to comment.