0.0.8 • Published 9 years ago

vdom-kv-input v0.0.8

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

vdom kv input

virtual-dom inputs for key value pairs

demo

https://6519bb83cb5aeb94a2a1a0e83e3058725a5b7f66.htmlb.in

install

$ npm install vdom-kv-input

example

var createElement = require('virtual-dom/create-element');
var h = require('virtual-dom/h');
var KVInput = require('vdom-kv-input');

var state = KVInput({
  field: 'ham',
  value: 'party',
  focus: 'value'  // focus the field or value when this el is created
});

var virtualEl = KVInput.render( state() );
var el = createElement(virtualEl);

document.getElementById('content').appendChild(el);
0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago