I'm pleased to announce the 0.3 release of htmx. Due to a big testing push I'm happy to say that htmx now has 98.4% test coverage.
That said, this release involves some major surgery on trigger parsing, in particular, so please try it out and let me know if you see anything funny.
hx-trigger
parsing has been rewritten and now supports trigger filters to filter
events based on arbitrary javascript expressionsHX-Trigger-After-Swap
and HX-Trigger-After-Settle
allowing
an event to be triggered after a given life cycle event (instead of before the swap)requestConfig
is now passed out to events surrounding the AJAX life cycle<script>
tags as javascript when no language is defined on themevent-header
extension, which will include a serialized JSON representation of
the triggering event in requestsEnjoy!