Tree is a kick ass, lightweight and WAI-ARIA friendly tree control plugin for jQuery.
It integrates nicely with the twitter bootstrap framework or by itself and will hopfully be a major game changer as far as this type of component goes.
This project was started because we needed a better solution for our file tree on compilr.com and frankly, so does the rest of the open source community. The problem with current solutions is that some of the more fully featured ones are poorly written, poorly documented and just far too cumbersome. The goal here is to produce a solution that's much more light weight but still fully featured. Something with a clear and easy to follow API and something that follows todays semantic markup standards including being WAI-ARIA compliant.
Ultimately we're hoping to give the jquery-ui team a head start on their own tree widget which is still in the planning stages: jQuery-UI Tree.
Version 1 is still a work in progress but it's getting close! For the lastest demo, download the code and open the index.html in the root directory.
For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Tree will be maintained under the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
- Breaking backward compatibility bumps the major (and resets the minor and patch)
- New additions without breaking backward compatibility bumps the minor (and resets the patch)
- Bug fixes and misc changes bumps the patch
For more information on SemVer, please visit http://semver.org/.
Have a bug or a feature request? Please open a new issue. Before opening any issue, please search for existing issues.
Feel free to fork the project and submit your pull requests anytime!
Mark Murphy
Licensed under the MIT license (MIT)
Copyright (c) 2013 Mark Murphy
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.