diff --git a/README.md b/README.md index 60941c5..a9f3873 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,6 @@ Need to include [es5-shim](https://github.com/es-shims/es5-shim#example-of-apply ## React Support Check out react-infinite-tree at https://github.com/cheton/react-infinite-tree. -## Notice -The project is under heavy development and a lot of things are changing. Stay tuned for further updates. - ## Installation ```bash npm install --save infinite-tree @@ -61,23 +58,23 @@ var data = { var tree = new InfiniteTree({ el: document.querySelector('#tree'), data: data, - autoOpen: true, // open all nodes - droppable: true, // droppable - loadNodes: function(parentNode, done) { // load node on demand + autoOpen: true, // True to open all nodes on initial loading + droppable: true, + loadNodes: function(parentNode, done) { // Load node on demand var nodes = []; setTimeout(function() { // Loading... done(null, nodes); }, 1000); }, nodeIdAttr: 'data-id', // the node id attribute - shouldSelectNode: function(node) { // determine if the node is selectable + rowRenderer: function(node, treeOptions) { // Customizable renderer + return '