shipshapecode / angular-shepherd

An Angular wrapper for the site tour library Shepherd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getCurrentStep() function is not included in angular-shepherd

Abdelrahman-7gab opened this issue · comments

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

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