How to use the hyperhtml/esm/index.js.wire function in hyperhtml

To help you get started, weโ€™ve selected a few hyperhtml examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jcgregorio / vanillajs / angular-todo / modules / todo-vanilla / todo-vanilla.js View on Github external
      ${ this.todos.map( (item, index) =&gt; wire(item)`<li><label>
             <input data-index="${index}"> this.done(e)} type=checkbox checked=${item.done}/&gt;
             <span>${item.text}</span>
        </label></li>`)}

hyperhtml

A Fast & Light Virtual DOM Alternative

ISC
Latest version published 2 years ago

Package Health Score

56 / 100
Full package analysis