TourStep
One step of a tour, as data. The host writes the words.
This is an interface exported by @mapcairn/map, checked against version 0.2.0.
Signature
import type { TourStep } from "@mapcairn/map";
interface TourStep
Properties
advance
readonly advance: TourAdvance;
What the person does to finish the step.
heading
readonly heading: DefinitionText;
A message key or plain text, read in the active language where the card and the announcement show it.
id
readonly id: string;
A stable id, for the host's own wiring (for example "layers").
side
readonly side?: "start" | "end";
In the panel layout, which side the card sits against. Defaults to start.
target
readonly target?: FocusName;
The registered control to ring while the step is current, if any.
text
readonly text: DefinitionText;
As heading.