observable-form
v0.0.18
Published
observable form
Downloads
30
Maintainers
Readme
observable-form
Observable form
use with browserify
methods
var of = require('observable-form')
var o = of(form);
observe form
o.on('change', cb)
callback is called with name and value of the change
o.fields
fields is an object literal containing observable functions for each input
o.toJSON
a json representation of fields
o.cleanup()
cleanup event listeners
install
With npm do:
npm install observable-form
test
npm test
license
MIT