Nested Parenthetical Madness

    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);

    Install

    npm i vdom-form-field

    DownloadsWeekly Downloads

    0

    Version

    0.0.7

    License

    ISC

    Last publish

    Collaborators

    • nichoth