Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call open Tour programmatically #86

Open
mariohmol opened this issue Feb 23, 2017 · 1 comment
Open

Call open Tour programmatically #86

mariohmol opened this issue Feb 23, 2017 · 1 comment

Comments

@mariohmol
Copy link

Hey. awesome module!!

I'm using this tour and i would like to have like help icons in section name where if the user clicks it open the tour in that step.

I tryed to make like ng-click="tourStep=1" , it works when click once.. if click it twice it does not open again. If i have to icons, one changing to step1 and other to step2 it works, but when click in same step cliked before, it does not open.

Is there a way to call openTour() programmatically? (inside the controller)?

bests

@Steve-Mc
Copy link

You can use shepherd.activeTour.show('stepIdHere') after starting the tour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants