-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More flexible layout? #19
Comments
Hi @desiv , |
Hi @tnicola , |
Hi @pabloborrego93 , thank you! |
This new feature has been released with the new version of the library (v 2.2.1). You can now use your custom buttons and/or counter: <div joyrideStep="step1"
[prevTemplate]="prevButton"
[nextTemplate]="nextButton"
[doneTemplate]="doneButton"
[counterTemplate]="counter">
I'm the target element.
</div>
<ng-template #prevButton>
<my-button>Go back!</my-button>
</ng-template>
<ng-template #nextButton>
<my-button>Go ahead!</my-button>
</ng-template>
<ng-template #doneButton>
<my-button>Complete</my-button>
</ng-template>
<ng-template #counter let-step="step" let-total="total">
{{ step }} of {{ total }} steps
</ng-template> N.B.:
|
It's a great one to use. Kudos to the developers. I having a use case where I need to auto-scroll the tour. How can I achieve this? I am using Perfect-Scrollbar with this library. Thanks in Advance !! |
Thank you @DeepakMahana !! |
@DeepakMahana There was an error with the auto-scroll feature ( issue 22) Can you please check it with the new version? |
First off, it's a great library! Really easy to use and implement! I've managed to make a custom content, but was wondering if it's possible to change the layout of the buttons and step counter? For example I would like to change the step counter from numbers to something visual like circles.
I've got at the moment

But would like to have

The text was updated successfully, but these errors were encountered: