Removes all elements in the collection from their parent nodes in the DOM, and returns the collection.
In this example, click a shape to remove it:
var svg = Pablo(demoElement).svg({height:100});
svg.on('click', function(event){
Pablo(event.target).remove();
alert(svg.children().length + ' children');
});
svg.rect({width:100, height:100, fill:'blue'});
svg.circle({cx:200, cy:50, r:50, fill:'orange'});
alert(svg.children().length + ' children');
This also removes any data or events associated with the removed elements.