getCurrentStep() function is not included in angular-shepherd
Abdelrahman-7gab opened this issue · comments
Abdelrahman Hegab commented
although the function is included in shepherd js itself
I can not use it on the shepherdService instance.
I want to add a step counter like the docs but I always end up with :
Property 'currentStep' does not exist on type 'ShepherdService'.ts
i even tried getCurrentStep but with no result
Abdelrahman Hegab commented
I figured it out I was able to access the current step and the steps array by using
this.shepherdService.tourObject.getCurrentStep()
and
this.shepherdService.tourObject.steps