htmx
htmx copied to clipboard
</> htmx - high power tools for HTML
> This PR breaks this test: https://github.com/bigskysoftware/htmx/blob/master/test/ext/json-enc.js#L112 > > I'm not exactly sure what the best way to handle this is—I think it's probably to have the `json-enc` extension override...
When you attempt an oob-swap on appending a `` to a `` the `` is stripped and only the `` and `` tags are actually added. That makes the documentation...
I'm trying to use the response targets extension but I see that its not in the distribution. When I've tested it there are api methods that aren't named in the...
I have a very simple HTML with some elements such as ```html ``` I want to execute an OOB swap, but sending the following HTML ```html ``` results in the...
I would like to use **_every_** with a random range: ` hx-trigger="every 5s" ` ` hx-trigger="every 5-10s" ` 5-10s would set a random number between **min** 5 and **max** 10...
There is no way to trigger an AJAX request when an element is visible in the viewport. I see 2 problems: 1. The intersect trigger only happens after the scroll...
grug make rick roll, grug want share
This would allow you to do infinite scroll with better locality of behaviour, by putting the attribs on the list itself: ```HTML mAdE wItH ❤ In dUdErStaDt ``` thx
I expected event filtering to work in `hx-on` similarly to `hx-trigger`. But, for example, `htmx:afterRequest[successful]: alert('hi')` currently produces `SyntaxError: unexpected token: ':'`. Workaround is to filter in JS: `htmx:afterRequest: if(event.detail.successful)...