* Before showing, hide the current step and if the tour is not * already active, call `this._setupActiveTour`. * @private
()
| 438 | * @private |
| 439 | */ |
| 440 | _updateStateBeforeShow() { |
| 441 | if (this.currentStep) { |
| 442 | this.currentStep.hide(); |
| 443 | } |
| 444 | |
| 445 | if (!this.isActive()) { |
| 446 | this._setupActiveTour(); |
| 447 | } |
| 448 | } |
| 449 | |
| 450 | /** |
| 451 | * Sets this.id to a provided tourName and id or `${tourName}--${uuid}` |
no test coverage detected