hx-request

The hx-request attribute allows you to configure various aspects of the request via the following attributes:

These attributes are set using a JSON-like syntax:

<div ... hx-request='\"timeout\":100'>
  ...
</div>

You may make the values dynamically evaluated by adding the javascript: or js: prefix:

<div ... hx-request='js: timeout:getTimeoutSetting() '>
  ...
</div>

Notes