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

openTour not working

Open leonardbh opened this issue 8 years ago • 3 comments

Doesn't seem like openTour is properly invoking start of Tour, if I manually set currentStep using my own function (i.e. startTour) it's fine.

https://jsfiddle.net/auricomx/rfffmd85

leonardbh avatar May 07 '17 08:05 leonardbh

Also noticed, if I use a custom function (startTour) to begin tour, if you exit tour via "X" instead of actual "next-step" button, it will not being Tour properly if you set $scope.currentStep=0 via startTour method (or any other).

leonardbh avatar May 07 '17 16:05 leonardbh

Even on the main/demo site, http://daftmonk.github.io/angular-tour, the 'Open tour' does nothing

kotpal avatar Jul 11 '17 03:07 kotpal

Doesn't seem like openTour is properly invoking start of Tour, if I manually set currentStep using my own function (i.e. startTour) it's fine.

https://jsfiddle.net/auricomx/rfffmd85

your function name that you want to invoke from the button (openTour) is different from the real function name (startTour)

stefanosalvucci avatar Jul 16 '20 09:07 stefanosalvucci