A button to go to the previous step the user saw? #2485
-
I have a tour which has multiple paths. I see that |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @tettoffensive I think you should control the tour state by your own. I did something similar by subscribing to the show event of the tour. That listener receives the current step you are on. So you can keep a reference of that step in your own TourState and by doing that, you can also save the previous state. Hope it helps. |
Beta Was this translation helpful? Give feedback.
-
Hey @tettoffensive I kept thinking in your use case, because maybe I will face the same in the near future. I'd try to avoid tours with different paths at tour designing time. You can have one instance of the |
Beta Was this translation helpful? Give feedback.
Hey @tettoffensive
I think you should control the tour state by your own. I did something similar by subscribing to the show event of the tour. That listener receives the current step you are on. So you can keep a reference of that step in your own TourState and by doing that, you can also save the previous state.
Hope it helps.