You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I also thought about that. Although it's not needed often, it can be advantageous to associate an action with whether we moved forward or backward on certain occasions.
I would pass an argument to the beforeStep and afterStep functions indicating whether the current step is a "backward" or "forward" step in the sequence. Using this, you can reference it within the function.
The original argument-less function definition, () => { ... }, will continue to work. However, if you need to differentiate the logic based on whether it's a forward or backward step, you have the option to do so.
on.beforeStep should get an argument, that indicates if
previous
button was clicked.The text was updated successfully, but these errors were encountered: