removeAll

fires when all items are removed from a tree collection

void removeAll(){ ... };

Example

data.events.on("RemoveAll", function(){
    console.log("Items are removed");
});

Back to top