An open API service indexing awesome lists of open source software.

https://github.com/nichoth/vdom-components

UI component library for virtual doms
https://github.com/nichoth/vdom-components

Last synced: 3 months ago
JSON representation

UI component library for virtual doms

Awesome Lists containing this project

README

          

# vdom components

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

## install

$ npm install vdom-components

## example

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