hyperscript-cellx

0.0.4 • Public • Published

hyperscript-cellx

Cellx adapter for hyperscript observable

Example

var cellx = require('cellx');
var h = require('hyperscript');
var o = require('hyperscript-cellx');

var color = cellx('green');
var div = h('div', {
    style: {
        color: o(color)
    }
}, [h('button', {
    onclick: function () {
        color('red');
    }
}, "click me!"), "Lorem Ipsum"]);
document.body.appendChild(div);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    2
  • 0.0.3
    2
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i hyperscript-cellx

Weekly Downloads

5

Version

0.0.4

License

ISC

Last publish

Collaborators

  • arvitaly