UNPKG

hyperviews

Version:

View template language based targeting hyperscript

6 lines (5 loc) 152 B
<main> <h1>{state.count}</h1> <button onclick=actions.down disabled="{state.count <= 0}">-</button> <button onclick=actions.up>+</button> </main>