code: function getElementFromObject(attachTo) {
    const op = attachTo.element;
  
    if (op instanceof HTMLElement) {
      return op;
    }
  
    return document.querySelector(op);
  }
docs: Get the element from an option object
  
  @method getElementFromObject
  @param Object attachTo
  @returns {Element}
  @private