I am using Intro.js for a guided tour.
I would like to fire javascript functions between some of the steps but I don't manage to. An idea would be to define different intros, and fire the javascript functions between the intros.
Is there a cleaner way to do it ?
this._currentStep is better.
Javascript:
html:
https://jsfiddle.net/jmfr8nyj/8/
I think I found a better solution, by setting a callback on step changes :
Another solution would be to alter it's step events in a more generic way:
This way you can specify which events happen on the description object of the step, rather than disconnecting events and their associated events.