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 can I make a tour over different components? #10

Open
nicvdb opened this issue Jan 1, 2024 · 0 comments
Open

How can I make a tour over different components? #10

nicvdb opened this issue Jan 1, 2024 · 0 comments

Comments

@nicvdb
Copy link

nicvdb commented Jan 1, 2024

Not really an issue but a question.
I have a Blazor application and want to guide the users through the navigation.
I'm able to create a tour, and all works fine if the user stays within the same component.
When I ask him to click a button that brings him to a different component, I want the next step in the tour to be automatically highlighted.
Tried with

`	protected override async Task OnInitializedAsync()
	{

		try
		{
			
			await GTourService.StartTour("GuidedTour", "second-step");
			
		}
		catch (Exception ex)
		{

			Console.WriteLine($"Error starting tour: {ex.Message}");
		}
	};`

in the second component, and although the GToutService is invoked, the tour doesn't get in the second step.

Thanks for the help,

Nic

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

1 participant