ngx-joyride
ngx-joyride copied to clipboard
Restrict click of Next button for some time
I want to allow the user to completely skip the intro by clicking on the close icon. But I don't want him just keep clicking on next buttons without reading it. In fact, I also play a voice clip with each step dialogue. So I do need to ensure that the user doesn't click on Next until that voice clip is finished. Is it possible to achieve this as of now? If not can we do something about it?
You can take the advantage of nextTemplate option with a boolean parameter saying 'current step voice ended', then use them inside template to activate a button by using a *ngIf