This extension adds the `X-Requested-With` header to requests with the value "XMLHttpRequest".
published 2.0.1 a month 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 2.0.0 a month ago- published 2.0.0 a month ago
The `class-tools` extension allows you to specify CSS classes that will be swapped onto or off of the elements by using a `classes` or `data-classes` attribute. This functionality allows you to apply [CSS Transitions](https://developer.mozilla.org/en-US
published 2.0.0 a month 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 2.0.0 a month 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 2.0.0 a month ago**NOTE: This extensions functionality has been folded into the core of htmx via the `hx-disabled-elt` attribute**
published 2.0.0 a month 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 2.0.0 a month agoThe `htmx-1-compat` extension allows you to almost seamlessly upgrade from htmx 1.x to htmx 2.
published 2.0.0 a month 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 2.0.0 a month agoThis extension encodes parameters in JSON format instead of url format.
published 2.0.0 a month 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 2.0.0 a month 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 2.0.0 a month agoThis extension allows you to use the [morphdom](https://github.com/patrick-steele-idem/morphdom) library as the swapping mechanism in htmx.
published 2.0.0 a month 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 2.0.0 a month 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 2.0.0 a month 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 2.0.0 a month 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 2.0.0 a month agoThe `remove-me` extension allows you to remove an element after a specified interval.
published 2.0.0 a month agoThis extension allows you to specify different target elements to be swapped when different HTTP response codes are received.
published 2.0.0 a month agoThis extension triggers an event ``restored`` whenever a back button even is detected while using ``hx-boost``.
published 2.0.0 a month ago