htmx-extensions icon indicating copy to clipboard operation
htmx-extensions copied to clipboard

SSE: allow custom swapping strategies (such as idiomorph)

Open FrLars21 opened this issue 6 months ago • 1 comments

Description

Implemented the change described in #164 to include the swapOptions.contextElement-parameter with the api.swap call to ensure that HTMX extensions implementing custom swapping modes can be discovered from hx-swap tags in the DOM.

Htmx version: v2.0.4 Used extension(s) version(s): v2.2.3

Corresponding issue: #164

Testing

Checklist

  • [x] I have read the contribution guidelines
  • [x] I ran the test suite locally (npm run test) and verified that it succeeded

FrLars21 avatar May 12 '25 21:05 FrLars21

Deploy Preview for htmx-extensions canceled.

Name Link
Latest commit 82db5bce51d2a255f0bcc6b93da5dd35130a296d
Latest deploy log https://app.netlify.com/sites/htmx-extensions/deploys/6822664e4659f9000863d061

netlify[bot] avatar May 12 '25 21:05 netlify[bot]