What is the preferred way to "wait" for network call response before showing next step? #59
jfpicard123
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have this situation where I want to show the user what happens before and after a Save
Assuming the this.saveClick() triggers a back-end call that takes 5s but stays on the same page ... how can I "tell" the Tour to wait for response before displaying next step (which shows a save result message for example)?
Thanks!
N.B. I found a workaround which is to split the tour steps array into 2 arrays. After the save is complete. I reinitialize and start the tour with the second array. Maybe there's a better way ..
Beta Was this translation helpful? Give feedback.
All reactions