Simon Hartley

Results 11 issues of Simon Hartley

The current `switch` directive is not recommended due to its fall-through behavior being regarded as error-prone. To solve this problem, we introduce a new `on` directive as an alternative to...

Wow, great job, I thought of making something like this and then found that you've gone way beyond what I had imagined! I'm currently going through a phase of answering...

htmx includes a minified version as part of its release on npm: https://www.npmjs.com/package/htmx.org?activeTab=code Extensions currently don't have a similar dist step and so only the non-minified version is available, e.g....

enhancement

**Describe the bug** In a Spring Boot RestController that wants to support POST request bodies of both form data or JSON, to use the built-in functionality, multiple endpoint methods must...

## Description Inspired by the already merged in extensions [PR #100](https://github.com/bigskysoftware/htmx-extensions/pull/100). On String, the substr method is deprecated and is not part of the main ECMAScript specification (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr). Replace...

## Description Follow up to #2951. Replace more usages of deprecated `String.prototype.substr`. Should I just keep making these, or perhaps we could make this a lint check or something? ##...

ready for review

`hx-boost` is useful, but can easily cause issues when used together with regular swaps. ### Details Here is the originally motivating example: ```html ... ... ... ``` Because I'm using...

## Description PR #123 made htmx a dependency of each extension instead of a dev dependency. One reason given was to ensure a minimum version of htmx is installed that's...

Images return from https://www.theaudiodb.com aren't loading and in the Chrome network tab shows: > (failed)net::ERR_BLOCKED_BY_ORB For Firefox it shows it as a 404, e.g. for: > https://www.theaudiodb.com/images/media/album/thumb/hot-fuss-limited-edition-7-inch-box-set-4ddc38e3e1d71.jpg > [HTTP/2 404...

## Description Allow running the build commands on Windows. On Windows, even under WSL, it can't find `sed` from within the `package.json` scripts. In addition, Windows doesn't have glob expansion,...

htmx 4