MentorAgent Docs
Menu

ReferencePackage: Novior.MentorAgent.Abstractions

OnboardingTour class

The OnboardingTour class of Novior.MentorAgent.Abstractions.Components.

View as Markdown
On this page

Namespace: Novior.MentorAgent.Abstractions.Components. Package: Novior.MentorAgent.Abstractions.

public class OnboardingTour : ComponentBase

Terminal
dotnet add package Novior.MentorAgent.Abstractions

public OnboardingTour()

public EventCallback<string> OnAsk { get; set; }

Raised with the step's ready-made question when the user taps it.

public EventCallback OnClose { get; set; }

Raised when the tour is completed or skipped — both end it for good.

public EventCallback<int> OnIndexChanged { get; set; }

Raised whenever the current step changes, so the host can remember where the user got to. The component itself persists nothing: it has no idea whether it is running in Blazor Server or WebAssembly, and storage is the host's business.

public EventCallback<string> OnNavigate { get; set; }

Raised with the step's URL when the user asks to open that screen.

public int StartIndex { get; set; }

Step to open on, so a tour the user left part-way through resumes instead of restarting. Out-of-range values are clamped rather than rejected — the step count can shrink between deployments, and an onboarding tour is not worth an exception.

public IReadOnlyList<MentorTourStep> Steps { get; set; }

The steps to walk through. An empty list renders nothing.