Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Display total number of steps. #39

Closed
aravindtga opened this issue Nov 18, 2013 · 2 comments
Closed

Display total number of steps. #39

aravindtga opened this issue Nov 18, 2013 · 2 comments

Comments

@aravindtga
Copy link

Hi,

I am using hopscotch to display the product tour. It is working fine.

While showing the tour, the step number shown as 1,2,3.... . I want to show the step number with the total number of steps (1/5,2/5,3/5...).

Is there any possible way to do this?

@im2cre8iv
Copy link

I'd like to see this as well. Along with the option to see just the current step

@timlindvall
Copy link
Collaborator

Resolved as of 0.2.0, which adds functionality for rendering tour and callout bubbles using templates or custom render methods. While it's not a config option, one of the details passed to tour rendering methods is the total number of steps in the tour (if it's a tour bubble), so you should be able to create your own template (or modify the default template that comes with Hopscotch and rebuild) that displays this information. Check out the readme in src/tl for details.

I hope this helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants