We are pleased to present the 0.9.5 release of hyperscript.
goexpression now works with a
windowtarget, and also allows a pixel offset so that an element scrolled into view will not be directly on the edge of the viewport
closestexpression now works with arrays as well as element collections
Values:JSONconversions to convert directly to form-encoded or JSON-encoded values for
addcommand now supports a
whenclause to allow conditionally adding/removing a class, etc. in a single command
beepexpression is now available to assist in debugging hyperscript code
inclauses now parse unary expressions, which is more closely aligns with our instinctive reading of those clauses.