Skip to content
This repository has been archived by the owner on Aug 8, 2019. It is now read-only.

JamesKyburz/observable-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is no longer maintained.

observable-form

Observable form

js-standard-style build status Sauce Test Status Greenkeeper badge

Try it out! view on requirebin

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