A jquery and bootstrap basic tree view plugin, easily use.
Switch branches/tags
Nothing to show
Clone or download
Latest commit f10976f Nov 9, 2016
Permalink
Failed to load latest commit information.
css Update easyTree.css Nov 8, 2016
fonts version 0.1.0 Jan 9, 2014
jade version 0.1.0 Jan 9, 2014
js fix delete bug Jan 10, 2014
less version 0.1.0 Jan 9, 2014
src fix delete bug Jan 10, 2014
.gitignore version 0.1.0 Jan 9, 2014
EasyTree.iml easify tree constructor Jan 9, 2014
README.md Update README.md Jan 11, 2014
changelist.md make it easily use Jan 10, 2014
gruntfile.js version 0.1.0 Jan 9, 2014
index.html fix delete bug Jan 10, 2014
package.json make it easily use Jan 10, 2014

README.md

EASY-TREE.js

A plugin base on jquery and bootstrap 3, can convert an un-order list to a tree easily. The tree that selectable, addable, editable and deletable

##Demo##

Example

  1. git clone https://github.com/zgs225/easy-tree.git
  2. npm install
  3. grunt

##Usage##

<div class='easy-tree'>
    <ul>
        <li>Example 1</li>
        <li>Example 2</li>
        <li>Example 3</li>
        <li>Example 4</li>
    <ul>
</div>

$('.easy-tree').EasyTree();

##Options##

selectable: the tree can be selected or not. Default true.

deletable: the tree's node can be deleted or not. Default false.

editable: the tree's node can be edited or not. Default false.

addable: can create node for the tree or not. Default false.

##i18n##

$('.easy-tree').EasyTree({
    i18n: {
        ...
        TODO
    }
});

##Dependencies##

  • jQuery
  • Bootstrap 3