itemClick

fires on clicking a tree item

void itemClick(){ ... };

Example

tree.events.on("itemClick", function(id, e){
    console.log("The item with the id "+ id +" was clicked.");
});

Related samples

See also
Back to top