HxResponseHeaders

Constants for HTMX response headers.

Report a problem

See also

Properties

Link copied to clipboard
const val Location: String

Allows you to do a client-side redirect that does not do a full page reload.

Link copied to clipboard
const val PushUrl: String

Pushes a new URL into the history stack.

Link copied to clipboard
const val Redirect: String

Can be used to do a client-side redirect to a new location.

Link copied to clipboard
const val Refresh: String

If set to “true” the client-side will do a full refresh of the page.

Link copied to clipboard
const val ReplaceUrl: String

Replaces the current URL in the location bar.

Link copied to clipboard
const val Reselect: String

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.

Link copied to clipboard
const val Reswap: String

Allows you to specify how the response will be swapped. See hx-swap for possible values.

Link copied to clipboard
const val Retarget: String

A CSS selector that updates the target of the content update to a different element on the page.

Link copied to clipboard
const val Trigger: String

Allows you to trigger client-side events.

Link copied to clipboard

Allows you to trigger client-side events after the settle step.

Link copied to clipboard

Allows you to trigger client-side events after the swap step.