I’m pleased to announce the 0.1.2 release of htmx as well as the first non-alpha hyperscript release 0.0.2 hyperscript.
hx-sse and the Web Sockets attribute hx-ws have changed syntax to now use colon separators: hx-sse='connect:/chat swap:message'_hyperscript.start() call to initialize.hx-sse allows for swapping content directly on an event, in addition to triggering an htmx element,
with the new swap:<event name> syntax.hx-target now supports a find syntax to find elements below the element by a CSS selectorhtmx:afterOnLoad will also be triggered as
htmx:after-on-load)revealed trigger event is much less of a CPU hog$ and _ in function callsEnjoy!