vdom-form-field

0.0.7 • Public • Published

vdom form field

Easy form fields with virtual-dom.

install

$ npm install vdom-form-field

example

var vdom = require('virtual-dom');
var h = vdom.h;
var FormField = require('vdom-form-field');
 
var state = FormField({
  field: 'example'
});
 
var loop = require('main-loop')( state(), FormField.render, vdom );
state(loop.update);
document.getElementById('content').appendChild(loop.target);

/vdom-form-field/

    Package Sidebar

    Install

    npm i vdom-form-field

    Weekly Downloads

    0

    Version

    0.0.7

    License

    ISC

    Last publish

    Collaborators

    • nichoth