HtmxRequest extension

The request headers htmx sends (htmx.org/reference/#request_headers).

on

Properties

htmxTarget → String?

Available on Request, provided by the HtmxRequest extension

The id of the element htmx swaps the response into (HX-Target).
no setter
htmxTrigger → String?

Available on Request, provided by the HtmxRequest extension

The id of the element that triggered the request (HX-Trigger).
no setter
isHtmx → bool

Available on Request, provided by the HtmxRequest extension

Whether htmx sent the request (HX-Request: true).
no setter
isHtmxBoosted → bool

Available on Request, provided by the HtmxRequest extension

Whether it came from an hx-boosted link or form (HX-Boosted: true).
no setter