htmx
htmx copied to clipboard
</> htmx - high power tools for HTML
Hi, If the server returns an array, then client-side-template can't be used. https://github.com/bigskysoftware/htmx/blob/master/src/ext/client-side-templates.js The code to process the data uses it directly, without wrapping it in an object. ```js var...
I know that IE 11 is no more supported by Microsoft but many legacy system or still using IE11. - Example : Winform WebView We were using inter-cooler and we...
From discord https://discord.com/channels/725789699527933952/725789747212976259/1036761999385829386 > hx-push-url doesn't work well with loading-states: if I go backwards (push back button) all elements with data-loading-disable become disabled I assume it's because loading-states first adds...
After some experimentation I managed to get htmx working smoothly with Bootstrap 5 modals and their original JS bundle. Edit: OK, got it working after few tries. Turns out the...
Normalise history cache key URLs, and prevent collisions in boosted anchors that use relative links.
1. Since LocalStorage is bound to the origin (domain/protocol/port triplet), we can normalize the URL format used as a key for a history snapshot to reduce cache misses for the...
Current implementation of websockets provides no event support for events which really limits possible use-cases for the extension. There already were PRs (#1099, #435), that could be covered by events...
Simpler than I thought. If `hx-swap-title` has a value of "no" then don't swap the page title. This attribute can be inherited. Let me know if this makes sense, and...
Here's an example of the issue https://codepen.io/reedspool-gh/pen/XWYbRXo For some reason, if clicking multiple times quickly, `hx-vals="js:{ test: event.target.value }">` causes an error, `TypeError: Cannot read properties of undefined (reading 'target')`...