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

Removed outdated note in oob swap documentation #2119

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion www/content/attributes/hx-swap-oob.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ If a selector is given, all elements matched by that selector will be swapped.
## Notes

* `hx-swap-oob` is not inherited
* Out of band elements must be in the top level of the response, and not children of the top level elements.
2 changes: 0 additions & 2 deletions www/content/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,6 @@ would be swapped into the target in the normal manner.

You can use this technique to "piggy-back" updates on other requests.

Note that out of band elements must be in the top level of the response, and not children of the top level elements.

#### Selecting Content To Swap

If you want to select a subset of the response HTML to swap into the target, you can use the [hx-select](@/attributes/hx-select.md)
Expand Down