RayCraftDocs
v1.0.3 raycraft.dev
On this page

Tour

Free

Step-by-step introduction that highlights page elements chosen by CSS selector. Steps without a matching element appear in the center.

Example

Tour control

Parameters

ParameterTypeDescription
ActiveIndexintIndex of the current step. Use with @bind-ActiveIndex.
ClassstringExtra CSS classes added to the root element.
OpenboolWhether the tour is running. Use with @bind-Open.
StepsIReadOnlyList<TourStep>TourStep(selector, title, text) items.
StylestringInline style added to the root element.

Events

EventTypeDescription
ActiveIndexChangedEventCallback<int>Raised when the step changes.
OpenChangedEventCallback<bool>Raised when the tour finishes or is skipped.

Package

Tour is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.