Open leonardbh opened 7 years ago
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).
Even on the main/demo site, http://daftmonk.github.io/angular-tour, the 'Open tour' does nothing
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.
your function name that you want to invoke from the button (openTour) is different from the real function name (startTour)
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