Closed prshantsharma closed 1 year ago
Hi, I'm getting an error in browser console when I start the TourService. Below is my code:
tourSteps: IStepOption[] = [ { anchorId: 'welcome', content: 'Lorem ipsum dolor.', title: 'Welcome', }, ];
In ngOnInit, I put this below line of code: this.tourService.initialize(this.tourSteps);
this.tourService.initialize(this.tourSteps);
I created a function to start the TourService as below: startTour() { this.tourService.start(); }
startTour() { this.tourService.start(); }
In my HTML, I put this below code: <div tourAnchor="welcome"></div>
<div tourAnchor="welcome"></div>
Also, I pasted <tour-step-template></tour-step-template> in app.component.html as you suggested already in the documentation.
<tour-step-template></tour-step-template>
What I'm doing wrong here. Please assist.
Hi, I'm getting an error in browser console when I start the TourService. Below is my code:
tourSteps: IStepOption[] = [ { anchorId: 'welcome', content: 'Lorem ipsum dolor.', title: 'Welcome', }, ];
In ngOnInit, I put this below line of code:
this.tourService.initialize(this.tourSteps);
I created a function to start the TourService as below:
startTour() { this.tourService.start(); }
In my HTML, I put this below code:
<div tourAnchor="welcome"></div>
Also, I pasted
<tour-step-template></tour-step-template>
in app.component.html as you suggested already in the documentation.What I'm doing wrong here. Please assist.