htmx 0.0.7 has been released!
htmx 0.0.7 Release
I’m pleased to announce the 0.0.7 release of htmx.
Changes
Breaking Changes
- All events fired by htmx have changed name, from
<event name>.htmx
(the old jQuery style) tohtmx:<event name>
New Features
- The
hx-swap
attribute now supports two new modifiers:scroll
- allows you to scroll the target to thetop
orbottom
view
- allows you to scroll thetop
orbottom
of the target into view
- The
hx-push-url
attribute now can optionally take a URL to push, in addition totrue
andfalse
- Added the
hx-vars
attribute that allows you to dynamically add to the parameters that will be submitted with a request - You can now sponsor htmx development via GitHub Sponsors
- A big thanks to our first sponsors!
Enjoy!