Pablo

detach()

As with remove, this removed each element in the collection from its parent in the DOM, but it does not remove any associated data or events.

In the example below the event will still be triggered because detaching from a parent does not remove its event.

var parent = Pablo.ellipse(),
    rect   = Pablo.rect();

parent.append(rect);

rect.on('foo', function () {
  alert('Triggered!')
});

rect.trigger('foo');

parent.firstChild().detach();

rect.trigger('foo');
alert(parent.children().length);
Painting is just another way of keeping a diary.
Pablo Picasso