ngx-joyride icon indicating copy to clipboard operation
ngx-joyride copied to clipboard

Restrict click of Next button for some time

Open chimuu opened this issue 6 years ago • 1 comments

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?

chimuu avatar Aug 07 '19 11:08 chimuu

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

Dji75 avatar Oct 03 '19 08:10 Dji75