Expand description
htmx response headers.
Structs§
- After
Settle - allows you to trigger client-side events after the settle step
- After
Swap - allows you to trigger client-side events after the swap step
- Ajax
Context - ajax context for use with
HxLocation
. - HxLocation
- allows you to do a client-side redirect that does not do a full page reload
- HxPush
Url - pushes a new url into the history stack
- HxRedirect
- can be used to do a client-side redirect to a new location
- HxRefresh
- if set to “true” the client-side will do a full refresh of the page
- HxReplace
Url - replaces the current url in the history stack
- HxReselect
- a CSS selector that allows you to choose which part of the response is used to be swapped in. Overrides an existing hx-select on the triggering element
- HxReswap
- allows you to specify how the response will be swapped. See hx-swap for possible values
- HxRetarget
- a CSS selector that updates the target of the content update to a different element on the page
Enums§
- HxModify
History - to be used with
HxPushUrl
orHxReplaceUrl
. - HxTrigger
- allows you to trigger client-side events
Statics§
- HX_
LOCATION - allows you to do a client-side redirect that does not do a full page reload
- HX_
PUSH_ URL - pushes a new url into the history stack
- HX_
REDIRECT - can be used to do a client-side redirect to a new location
- HX_
REFRESH - if set to “true” the client-side will do a full refresh of the page
- HX_
REPLACE_ URL - replaces the current url in the history stack
- HX_
RESELECT - a CSS selector that allows you to choose which part of the response is used to be swapped in. Overrides an existing hx-select on the triggering element
- HX_
RESWAP - allows you to specify how the response will be swapped. See hx-swap for possible values
- HX_
RETARGET - a CSS selector that updates the target of the content update to a different element on the page
- HX_
TRIGGER - allows you to trigger client-side events
- HX_
TRIGGER_ AFTER_ SETTLE - allows you to trigger client-side events after the settle step
- HX_
TRIGGER_ AFTER_ SWAP - allows you to trigger client-side events after the swap step
Traits§
- History
Modification - history modification headers.
- Trigger
After - trigger after headers.