Extending Treeview

You can now set a custom class for each node status (closed, open, parent) as well as a custom class to toggle visibility.

Use these options programatically or set them in the data attributes (data-openClass, data-closedClass, data-parentClass, data-hideClass).

Also modified Treeview's LESS module to include a mixin which you can use to create your own custom open/closed styles.

This combination also deprecates the need to have an empty span tag for the toggle to happen.

Included a folder view of the tree view as well as a caret tree view for examples. These can be commented out if deemed unnecessary.