x-observable-list-renderer
v1.0.0
Published
Renders DOM nodes for observable list elements.
Downloads
2
Readme
Observable list renderer
Observable list renderer is a JavaScript library providing an efficient way to render DOM nodes for observable list elements.
Examples
var ObservableList = require('x-observable-list');
var renderList = require('x-observable-list-renderer');
var myList = new ObservableList([1, 2]);
renderList(document.body, myList, function(number) {
return document.createTextNode(number);
});
myList.add(3);
Installation
npm install --save x-observable-list-renderer