Skip to content

v0.4.0

Choose a tag to compare

@ryanhamamura ryanhamamura released this 02 Feb 18:58
· 50 commits to main since this release

What's New

  • OnKeyDownMap: Window-scoped keydown dispatching with per-key signal and preventDefault options
  • WithWindow: Attach event listeners to the window instead of the element
  • WithPreventDefault: Call evt.preventDefault() for matched keys
  • WithSignal / WithSignalInt: Set signal values client-side before triggering actions
  • Keyboard grid example: Demonstrates combined key bindings with WASD and arrow keys

Bug Fixes

  • Use comma operator instead of semicolons in generated ternary expressions to produce valid JavaScript