reactive-bamboo
reactive adapter for bamboo models
Last updated 7 years ago by shtylman .
Original npm · Tarball · package.json
$ cnpm install reactive-bamboo 
SYNC missed versions from official npm registry.

reactive-bamboo Build Status

reactive adapter for bamboo to update the reactive view with real-time bamboo model changes.

var reactive = require('reactive');
var Model = require('bamboo/model');
var ReactiveBamboo = require('reactive-bamboo');

var User = Model({
    email: String,
    name: {
        first: String,
        last: String
    }
});

var user = User();
user.name = {
    first: 'Rob',
    last: 'Zombie'
};

var view = reactive('<p>{name.first} {name.last}</p>', user, {
    adapter: ReactiveBamboo
});

// <p>Rob Zombie</p>

user.name.first = 'Defunct';

// <p>Defunct Zombie</p>

License

MIT

Current Tags

  • 0.0.1                                ...           latest (7 years ago)

1 Versions

  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (2)

Copyright 2014 - 2016 © taobao.org |