angular-tour icon indicating copy to clipboard operation
angular-tour copied to clipboard

Switching URL and continue the tour

Open suriyagp opened this issue 11 years ago • 1 comments

In my app i am having different html files, i want to make the tour flow on those pages that is /path1 to /path2 at the same time need to maintain the flow.

Is this is possible with angular-tour? if possible means explain that with simple example.

suriyagp avatar Dec 30 '14 21:12 suriyagp

Check out my PR: #28

I've done some changes to angular-tour to allow that kind of scenario. My application has a flow of 3 different tutorials on different pages.

What you have to implement is a persistent tutorial progress (cookie or whatever) with number of last watched tutorial. I assigned numbers to each of the tours: (1, 2, 3), and when you complete one tour, this tutorial progress increases.

On the other hand on every page where tour is available it is starting only when numbers match (tour index and tutorial progress).

This functionality is quite easy to implement and it's not part of the PR :)

yhnavein avatar Jan 23 '15 09:01 yhnavein