code: function(elem) {
          if (elem && elem.nodeType) {
              var layer = this._drawLayer;
              this._detachFromLayer();
              this._element = elem;
              this._attachToLayer(layer);
          }
          return this;
      }
docs: @
  #.DOM
  @comp DOM
  @kind Method
  
  @trigger Draw - when the entity is ready to be drawn to the stage - { style:String, type:"DOM", co}
  @sign public this .DOM(HTMLElement elem)
  @param elem - HTML element that will replace the dynamically created one
  
  Pass a DOM element to use rather than one created. Will set `._element` to this value. Removes the old element.
  
  Will reattach the entity to the current draw layer