Skip to content

Commit

Permalink
Removed outdated note in oob swap documentation (#2119)
Browse files Browse the repository at this point in the history
  • Loading branch information
Telroshan authored Dec 21, 2023
1 parent 89b523c commit 0b7a68e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
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

0 comments on commit 0b7a68e

Please sign in to comment.