HxRequestHeaders

Constants for HTMX request headers.

Report a problem

See also

Properties

Link copied to clipboard
const val Boosted: String

Indicates that the request is via an element using hx-boost.

Link copied to clipboard
const val CurrentUrl: String

The current URL of the browser.

Link copied to clipboard

“True” if the request is for history restoration after a miss in the local history cache.

Link copied to clipboard
const val Prompt: String

The user response to an hx-prompt.

Link copied to clipboard
const val Request: String

Always “true”.

Link copied to clipboard
const val Target: String

The id of the target element if it exists.

Link copied to clipboard
const val Trigger: String

The id of the triggered element if it exists.

Link copied to clipboard
const val TriggerName: String

The name of the triggered element if it exists.