docs: function(elem) {
          if (elem && elem.nodeType) {
              var layer = this._drawLayer;
              this._detachFromLayer();
              this._element = elem;
              this._attachToLayer(layer);
          }
          return this;
      }