Open mino89 opened 4 years ago
i have implemented the plugin like this
... export class DashPageService { public dashPage = new BehaviorSubject<boolean>(false); get isDashPage() { return this.dashPage.asObservable(); } constructor() {} } @Component({ selector: 'dashsplash-component', templateUrl: './dashsplash.component.html', }) export class DashSplashComponent { constructor( private route: Router, private dashPageService: DashPageService ) { this.dashPageService.dashPage.next(true); } storyBoard = [ { id: 'warehouse', text: 'This is wellcome', direction: 'bottom' }, ] as StoryOnboardingModel[]; endOfTutorial(event) { console.log(event); } }
<Ng7-Onboarding [story]="storyBoard" [gap]='20' (done)="endOfTutorial($event)"></Ng7-Onboarding>
but when I click on 'done' nothing is happening
First this project was make for my study so, it will not work stably. Sry bro. If you clicked done. It should call endOfTutorial func. If not try add more story item to storyBoard array.
i have implemented the plugin like this
but when I click on 'done' nothing is happening