x-bind

1.0.0 • Public • Published

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(+ b);
});
a.setValue('A');
b.setValue('B');
 
// Prints 'ab', 'Ab', 'AB'.

Installation

npm install --save x-bind

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i x-bind

      Weekly Downloads

      0

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • lexarx