* Start the tour
()
| 348 | * Start the tour |
| 349 | */ |
| 350 | async start() { |
| 351 | this.trigger('start'); |
| 352 | |
| 353 | // Save the focused element before the tour opens |
| 354 | this.focusedElBeforeOpen = document.activeElement as HTMLElement | null; |
| 355 | |
| 356 | this.currentStep = null; |
| 357 | |
| 358 | this.setupModal(); |
| 359 | |
| 360 | this._setupActiveTour(); |
| 361 | this.next(); |
| 362 | } |
| 363 | |
| 364 | /** |
| 365 | * Called whenever the tour is cancelled or completed, basically anytime we exit the tour |
no test coverage detected