0.02
No release in over 3 years
Low commit activity in last 3 years
jsTree is jquery plugin, that provides interactive trees. It is absolutely free, open source and distributed under the MIT license.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 2.9.0
~> 2.13.2
~> 1.4.0
~> 2.7.1
 Project Readme

Gem Version Total Downloads License

jsTree for Rails Asset Pipeline

Integrate the jsTree jQuery plugin with the Rails asset pipeline.


jsTree is a jQuery plugin that provides interactive trees. It is absolutely free, open source and distributed under the MIT license.

Version
Gem 3.3.17
jsTree 3.3.17

📦 Usage

Install jstree-rails-4 gem

Add jstree-rails-4 to your Gemfile and run bundle install:

gem "jstree-rails-4"

Include jstree-rails-4 javascript assets

Add the following to your app/assets/javascripts/application.js:

//= require jstree

Include jstree-rails-4 stylesheet assets

Add to your app/assets/stylesheets/application.css:

*= require jstree-default

or for dark theme:

*= require jstree-default-dark

🤝 Contributions

If you want to contribute, please:

  1. Fork the project
  2. Make your feature addition or bug fix
  3. Send me a pull request on Github

🔄 How to pull new version of jsTree yourself

Use command line:

bundle install
ruby -r './lib/jstree-rails-4/source_file.rb' -e 'SourceFile.new.fetch'
# Choose version and enter 'Y' on each request
ruby -r './lib/jstree-rails-4/source_file.rb' -e 'SourceFile.new.convert'

💖 Sponsorship

This project is maintained in my free time. If you find it helpful, please consider becoming a sponsor.

📄 License

MIT