htmx 1.3.0 has been released!
htmx 1.3.0 Release
Iām happy to announce the 1.3.0 release of htmx.
New Features & Major Changes
- Support a
targetmodifier onhx-triggerto filter based on the element targeted by an event. This allows lazy binding to that target selector. - Events are no longer consumed by the first element that might handle them, unless the
consumekeyword is added to thehx-triggerspecification - Added the
htmx:beforeSendevent, fired just before an ajax request begins htmx.ajax()now returns a promise
Improvements & Bug fixes
- SSE swaps are properly settled
- Fixed bug that was improperly cancelling all clicks on anchors
Enjoy!