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

Call open Tour programmatically

Open mariohmol opened this issue 8 years ago • 1 comments

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

mariohmol avatar Feb 23 '17 19:02 mariohmol

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

Steve-Mc avatar Mar 14 '17 16:03 Steve-Mc