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 viewportclosest expression now works with arrays as well as element collectionsValues:Form and Values:JSON conversions to convert directly to form-encoded or JSON-encoded values
for fetch requestsadd command now supports a when clause to allow conditionally adding/removing a class, etc.
in a single commandbeep expression is now available to assist in debugging hyperscript codeof and in clauses now parse unary expressions, which is more closely aligns with our instinctive reading of
those clauses.Enjoy!