{"id":25874299,"url":"https://github.com/pioz/jquery-tree","last_synced_at":"2025-03-02T09:19:46.036Z","repository":{"id":66314567,"uuid":"1398083","full_name":"pioz/jquery-tree","owner":"pioz","description":"jQuery-tree is a jQuery plugin to make an HTML unorder list (ul) in a tree.","archived":false,"fork":false,"pushed_at":"2014-04-28T17:51:08.000Z","size":271,"stargazers_count":29,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-04-10T15:53:50.510Z","etag":null,"topics":["javascript","jquery-plugin","tree"],"latest_commit_sha":null,"homepage":"http://plugins.jquery.com/project/jquery-tree","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pioz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-22T15:38:25.000Z","updated_at":"2020-12-03T19:59:26.000Z","dependencies_parsed_at":"2023-02-20T02:20:27.402Z","dependency_job_id":null,"html_url":"https://github.com/pioz/jquery-tree","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fjquery-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fjquery-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fjquery-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pioz%2Fjquery-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pioz","download_url":"https://codeload.github.com/pioz/jquery-tree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241482750,"owners_count":19969972,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","jquery-plugin","tree"],"created_at":"2025-03-02T09:19:45.414Z","updated_at":"2025-03-02T09:19:46.014Z","avatar_url":"https://github.com/pioz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery-tree\n===========\n\njQuery-tree is a jQuery plugin to make an HTML unorder list (`\u003cul\u003e`) in a tree.\n\nThe state of the tree expansion will be saved in a cookie. To enable this\nfeature include the jQuery cookie plugin (http://plugins.jquery.com/project/Cookie).\n\n-------------------------------------------------------------------------------\n\nSee the example at http://pioz.github.com/jquery-tree/index.html\n\n-------------------------------------------------------------------------------\n\nUSAGE:\n\nYou can make an UL in a tree with: `$('ul').tree();`\n\nAvaiable options are:\n  *  open_char: defeault UTF8 character on open node.\n  *  close_char: defeault UTF8 character on close node.\n  *  default_expanded_paths_string: if no cookie found the tree will be expanded with this paths string (default '')\n       To expand all branches use 'all'.\n       To collapse all branches use ''.\n       To expand the first child and the second child of the first child use '0/1'\n  *  only_one: if this option is true only one child will be expanded at time (default false)\n  *  animation: animation used to expand a child (default 'slow')\n\nYou can bind a click event to expand/collapse a branch by adding the class\n'jtree-button' on a tag inside the branch.\n\nYou can call the method 'expand(animation)' or 'collapse(animation)' to expand or collapse the tree.\nAnimation can be null to use default animation, 'none' to not use animation.\n\nTo save the state of the tree expansion when there are many trees in the same\npage, you have to specify a cookie key different for every tree. To do this\nadd the data attribute `data-cookie=\"unique-key\"` to UL tag.\n\n-------------------------------------------------------------------------------\n\nQuestions or problems?\nIf you have any issues please add an issue on GitHub or fork the project and\nsend a pull request.\n\n-------------------------------------------------------------------------------\n\nCopyright © 2012 [Enrico Pilotto (@pioz)](http://github.com/pioz).\n\nContributors:\n  - [Stefano Ceschi Berrini (@stecb)](http://github.com/stecb)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpioz%2Fjquery-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpioz%2Fjquery-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpioz%2Fjquery-tree/lists"}