Skip to content
Tree component for Backbone.js using nested Backbone collections and models, to build a Backbone View of the tree.
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
assets
dist
docs
lib
src
test
.bowerrc
.gitignore
LICENSE.md
README.md
bower.json

README.md

Backtree.js


Is a tree component that uses Backbone.js for building a tree naviation system based on Backbone nested collections.

Overview

Nested collections can be easily navigated using a Tree component, and this is an opinionated tree to do just that. It doesn't currently show models in the tree view.

Inspiration was gathered from Backgrid by Jimmy Yuen Ho Wong and Marionette by Derick Bailey, particular the use of composite views.

Supported browsers

It might well work on more browsers than the following but I will only test with a subset of all browsers

  • Internet Explorer 9+
  • Safari 6+
  • Chrome 22+
  • Firefox 18+

For IE8 and above you should use a shim for HTML5 tag support

Requirements

  • JQuery >= 1.7.2
  • Underscore 1.4.3 or LoDash with Underscore 1.0.0-rc.3
  • Backbone.js == 0.9.10
  • Backbone Babysitter == 0.1.4

It also currently requires a Javascript PubSub implementation (Included is a modified version of pubsub.js).

Test & Develop

Run test/index.html

Something went wrong with that request. Please try again.