mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-27 13:01:03 +00:00
www: mention hx-preserve on hx-boost (#2248)
This note would have really helped me when I was working on avoiding my maplibre canvas div from being overwritten when using hx-boost. I was initially confused by the hx-boost=false not thinking that is what I needed.
This commit is contained in:
parent
22f2db2254
commit
fb94dfa832
@ -44,3 +44,4 @@ This form will issue an ajax `POST` to the given URL and replace the body's inne
|
||||
* All requests are done via AJAX, so keep that in mind when doing things like redirects
|
||||
* To find out if the request results from a boosted anchor or form, look for [`HX-Boosted`](@/reference.md#request_headers) in the request header
|
||||
* Selectively disable boost on child elements with `hx-boost="false"`
|
||||
* Disable the replacement of elements via boost, and their children, with [`hx-preserve="true"`](@/attributes/hx-preserve.md)
|
||||
|
Loading…
x
Reference in New Issue
Block a user