Skip to content
jqm-tree is a jquery mobile tree plugin
JavaScript HTML
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
js
README.md
demo.html

README.md

jqm-tree

jqm-tree is a jquery mobile tree plugin
jqm-tree 是一个jquery mobile的树形插件

example(使用说明):
$("#tree").jqmtree({
  title : 'Items',
  collapsed: false,
  data: [
    { "id": 1, "title": "item1" },
    { "id": 2, "title": "item1_1", "pid":1 },
    { "id": 3, "title": "item1_2", "pid": 1 },
    { "id": 4, "title": "item2", "pid": 0 },
    { "id": 5, "title": "item3", "pid": 0 },
    { "id": 6, "title": "item1_2_1", "pid": 3 }
  ]
});

You can’t perform that action at this time.