stylie.treeview
Pure CSS collapsible tree menu, ported from: http://www.thecssninja.com/css/css-tree-menu
Basic HTML structure
File 1 Subfolder 1 File 2 File 2 File 2
CSS for treeview
Generate with javascript
Sample json data
var sampletree = ;
HTML container to insert
Javascript helper to generate markup
var StylieTreeview = tree1 = sampletree StylieTreeview1; window;
Development
Make sure you have grunt installed
$ npm install -g grunt-cli
Then run grunt watch
$ grunt watch
For generating documentation
$ grunt doc
$ jsdoc2md lib/**/*.js index.js > doc/api.md