a small scripting language for the web
published version 0.9.13, a month agoThis extension adds the `X-Requested-With` header to requests with the value "XMLHttpRequest".
published version 2.0.1, 9 months agoAlpine.js now has a lightweight [morph plugin](https://alpinejs.dev/plugins/morph) and this extension allows you to use it as the swapping mechanism in htmx which is necessary to retain Alpine state when you have entire Alpine components swapped by htmx.
published version 2.0.0, 9 months ago- published version 2.0.0, 9 months ago
## Manipulate classes of an element (e.g. for CSS transitions)
published version 2.0.1, 4 months agoThis extension supports transforming a JSON/XML request response into HTML via a client-side template before it is swapped into the DOM. Currently four client-side templating engines are supported:
published version 2.0.0, 9 months agoThis extension includes log all htmx events for the element it is on, either through the `console.debug` function or through the `console.log` function with a `DEBUG:` prefix.
published version 2.0.0, 9 months ago**NOTE: This extensions functionality has been folded into the core of htmx via the `hx-disabled-elt` attribute**
published version 2.0.0, 9 months agoThis extension adds the `Triggering-Event` header to requests. The value of the header is a JSON serialized version of the event that triggered the request.
published version 2.0.0, 9 months agoThe `htmx-1-compat` extension allows you to almost seamlessly upgrade from htmx 1.x to htmx 2.
published version 2.0.0, 9 months agoThe `include-vals` extension allows you to programmatically include values in a request with a `include-vals` attribute. The value of this attribute is one or more name/value pairs, which will be evaluated as the fields in a javascript object literal.
published version 2.0.0, 9 months agoThis extension encodes parameters in JSON format instead of url format.
published version 2.0.1, 4 months agoThis extension allows you to easily manage loading states while a request is in flight, including disabling elements, and adding and removing CSS classes.
published version 2.0.0, 9 months agoThis extension makes non-`GET` and `POST` requests use a `POST` with the `X-HTTP-Method-Override` header set to the actual HTTP method. This is necessary when dealing with some firewall or proxy situations.
published version 2.0.1, 4 months agoThis extension allows you to use the [morphdom](https://github.com/patrick-steele-idem/morphdom) library as the swapping mechanism in htmx.
published version 2.0.0, 9 months agoThis extension allows you to swap multiple elements marked with the `id` attribute from the HTML response. You can also choose for each element which [swap method](https://htmx.org/docs#swapping) should be used.
published version 2.0.0, 9 months agoThis extension supports expressing inter-element dependencies based on paths, inspired by the [intercooler.js dependencies mechanism](http://intercoolerjs.org/docs.html#dependencies). When this extension is installed an element can express a dependency o
published version 2.0.0, 9 months agoThis extension uses request parameters to populate path variables. Used parameters are removed so they won't be sent in the query string or body anymore.
published version 2.0.0, 9 months agoThe `preload` extension allows you to load HTML fragments into your browser's cache before they are requested by the user, so that additional pages appear to users to load nearly instantaneously. As a developer, you can customize its behavior to fit your
published version 2.0.1, 4 months agoThe `remove-me` extension allows you to remove an element after a specified interval.
published version 2.0.0, 9 months agoThis extension allows you to specify different target elements to be swapped when different HTTP response codes are received.
published version 2.0.1, 4 months agoThis extension triggers an event ``restored`` whenever a back button even is detected while using ``hx-boost``.
published version 2.0.0, 9 months ago