sly
sly copied to clipboard
remove all items?
What is the best way to remove all sly items?
I'm doing it this way for now:
for(var i=slyobject.items.length;i>=0;i--){
slyobject.remove(i);
}
But since the remove method calls reload each time, I don't know that this is the most efficient way to remove all items.