Skip to content
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

How to implement Intro.js in Angular routing application. #2011

Open
PrashantHarde opened this issue Sep 21, 2023 · 2 comments
Open

How to implement Intro.js in Angular routing application. #2011

PrashantHarde opened this issue Sep 21, 2023 · 2 comments

Comments

@PrashantHarde
Copy link

PrashantHarde commented Sep 21, 2023

How we can implement intro.js in angular. Does intro.js support angular routing. If it does not support angular routing then it will create issues showing steps on different pages.

Currently I did not see any example showing how we can implement intro js in Angular versions 2+ (eg. Angular 12).

Also there is no proper documentation for implementing multi page routing. Suppose if user want to show steps in different pages there should be a option to navigate to that page and then show the step.

Angular Framework.

@CynanX
Copy link

CynanX commented Nov 9, 2023

I don't believe there is any native Angular support.

The way in which I've seen this done currently is to have introJs on your source and destination pages.

You can use onafterchange and check if it's the step you want, route to the new page passing in a parameter to continue my tour and on the destination page if that parameter is set, fire off introJs.

At least that's the basic idea.

Copy link

stale bot commented Mar 13, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants