* Internal cleanup that tears down the tooltip, component, and DOM element * without emitting the public "destroy" event. * @private
()
| 438 | * @private |
| 439 | */ |
| 440 | _teardownElements() { |
| 441 | destroyTooltip(this); |
| 442 | |
| 443 | if (this.shepherdElementComponent) { |
| 444 | this.shepherdElementComponent.cleanup(); |
| 445 | this.shepherdElementComponent = undefined; |
| 446 | } |
| 447 | |
| 448 | if (isHTMLElement(this.el)) { |
| 449 | this.el.remove(); |
| 450 | this.el = null; |
| 451 | } |
| 452 | |
| 453 | this._updateStepTargetOnHide(); |
| 454 | this._originalTabIndexes.clear(); |
| 455 | } |
| 456 | |
| 457 | /** |
| 458 | * Returns the tour for the step |
no test coverage detected