mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Removed outdated note in oob swap documentation (#2119)
(cherry picked from commit 0b7a68e352bbbd54e22bf7f9e4301959cad2de99)
This commit is contained in:
parent
b9da68d970
commit
afb36ac6e6
@ -50,4 +50,3 @@ You should use a `template` tag to encapsulate elements that by the spec can't s
|
|||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
* `hx-swap-oob` is not inherited
|
* `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.
|
|
||||||
|
@ -637,8 +637,6 @@ would be swapped into the target in the normal manner.
|
|||||||
|
|
||||||
You can use this technique to "piggy-back" updates on other requests.
|
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
|
#### 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)
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user