angular-ya-treeview

Yet Another Treeview for AngularJS
Homepage:
4 people use it
Author: 6635129a732c445f409bffc1040372a8?d=https%3a%2f%2fidenticons.github.com%2f461d4cb4468950ef48bc54384cc304ee ca77y

ya.treeview Build Status

Yet Another Treeview for AngularJS

Getting started

Yet another treeview for angular? Why ???

I couldn't find a treeview implementation for angular which would fit all my requirements. A more detailed motivation is here. Long story short:

  • external templates
  • hooks for all events (expand, collapse, select, double click)
  • transclude
  • treeview should not modify the original model
  • references to a parent and children in nodes
  • treeview context which can be used to store treeview-wide properties
  • async loading of children
  • lazy/eager creation of the virtual tree
  • easy to implement multiselect

This directive is inspired by the following projects:

Requirements

  • Angular 1.2.x (should work with 1.0.x, I haven't checked)
  • Bootstrap 3.x (if you're using my templates)
comments powered by Disqus
This page was last updated over 3 years ago.