x-bind
v1.0.0
Published
Data binding library.
Downloads
4
Maintainers
Readme
Bind
Bind is a JavaScript library for data binding.
Examples
var Observable = require('x-observable');
var bind = require('x-bind');
var a = new Observable('a');
var b = new Observable('b');
bind([a, b], function(a, b) {
console.log(a + b);
});
a.setValue('A');
b.setValue('B');
// Prints 'ab', 'Ab', 'AB'.
Installation
npm install --save x-bind