0.9.13 • Published 2 years ago

hyperscript-experimental v0.9.13

Weekly downloads
-
License
BSD 2-Clause
Repository
github
Last release
2 years ago

//_hyperscript

the underscore is silent

introduction

_hyperscript is a small, open scripting language inspired by hypertalk

it is a companion project of https://htmx.org

quickstart

<script src="https://unpkg.com/hyperscript.org@0.9.7"></script>


<button _="on click toggle .clicked">
  Toggle the "clicked" class on me
</button>


<div hs="on mouseOver toggle mouse-over on #foo">
</div>

<div data-hs="on click call aJavascriptFunction() then
              wait 10s then
              call anotherJavascriptFunction()">
           Do some stuff
</div>

website & docs

contributing

  • please include test cases in /test and docs in /www
    • you can run the test suite by viewing test/index.html in a browser.
  • development pull requests should be against the dev branch, docs fixes can be made directly against master
  • you can build _hyperscript as shown: npm run dist. building is not necessary during development to run tests.
0.9.13

2 years ago

0.9.12

2 years ago

0.9.11

2 years ago

0.9.10

2 years ago

0.9.9

2 years ago

0.9.8

2 years ago

0.9.7

2 years ago