vdom-components

0.0.16 • Public • Published

vdom components

Collection of UI components bound to virtual-dom as a rendering engine.

install

$ npm install vdom-components

example

var vdom = require('virtual-dom');

// require something
var FileUpload = require('vdom-components/Form/FileUpload');

var state = FileUpload({});

var loop = require('main-loop')( state(), FileUpload.render, vdom );
state(loop.update);
document.getElementById('content').appendChild(loop.target);

/vdom-components/

    Package Sidebar

    Install

    npm i vdom-components

    Weekly Downloads

    15

    Version

    0.0.16

    License

    ISC

    Last publish

    Collaborators

    • nichoth