// it's unlikely that this will be the case, since most of the time a tooltip will be configured while building
if (getElement().hasParentElement()) {
getElement().getParentElement().replaceChild(outer.getElement(), getElement());
}
outer.wrap(this);
// we have to return outer
return outer;
}
/**