brolim / treeboo Goto Github PK
View Code? Open in Web Editor NEWa tree hmtl component based on jquery
a tree hmtl component based on jquery
TreeBoo You build your data. TreBoo do the tree HTML for it. --------------------------------------------------------------- WHAT IS THIS? A free JS tree component to use on your web page. Simple to use and to modify. Tested with Jasmine.js. WHAT DOES IT DO? The spec/jquery_tree_spec.js specifies this software HOW TO USE? spec/visual_spec.html shows how to use the Software. It uses style/jquery_tree.css to render a fixed data created on HTML. HOW TO BUILD YOUR DATA father = { id:'father_id', name:'father_name' } child = { id:'child_id', name:'child_name' } father.children = [child] AVAILABLE METHODS json_node = {id:'', name:'', children:[]} JSON node new TreeBoo([json_node1, json_node2, ...]) builds the TreeBoo object and all Node objs inside it new Node() builds the Node object node.node(node_id) returns itself or a child that is under node_id node.uncheck_node() node.check_node() change node status toggling it between 'checked' and 'unchecked' node.uncheck_all_nodes() node.check_all_nodes() change status of itself and its children node.checked_nodes() node.unchecked_nodes() get a Node array
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.