How to invoke a function on tour done? #411
Unanswered
vegeta123254
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hi @vegeta123254, could you make a minimal reproduction of your use case in a codesandbox, in order to play around and look for a solution that fits? thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here is an example making a Please let me know if this is what you are looking for. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using reactour, v2 .
I have placed TourProvider at App level.
And at each component , I have used setSteps to set the steps.
Is there a way to invoke a function after the last step is done at each component? (This is basically to make a HTTP request )
I am showing the tours as soon as the components is loaded.
The beforeClose method on TourProvider won't work as I have several instances of react tour.
The action method on steps won't work as it is triggered as soon as the step is encountered.
Beta Was this translation helpful? Give feedback.
All reactions