We are pleased to present the 0.9.5 release of hyperscript.
go expression now works with a
window target, and also allows a pixel offset so that an element scrolled
into view will not be directly on the edge of the viewport
closest expression now works with arrays as well as element collections
Values:JSON conversions to convert directly to form-encoded or JSON-encoded values
add command now supports a
when clause to allow conditionally adding/removing a class, etc.
in a single command
beep expression is now available to assist in debugging hyperscript code
in clauses now parse unary expressions, which is more closely aligns with our instinctive reading of