Description

The .detach() method is the same as .remove(). This method is useful when removed elements are to be reinserted into the stage at a later time.

Returns

CanvasEngine.Element

Example

In method ready

var el = this.createElement();
stage.append(el);

el = el.detach(); // element is removed
stage.append(el); 

Discussion