Skip to main content

MountTourStep

One step of a tour: what TourStep of @mapcairn/core holds, with the heading and the text as plain text, a message key or text as written. The id is unique among the steps, advance is how the step ends, target a control to ring, side the side of the panel layout the card sits against and opens the section Map options opens on while the step is current. It applies only when Map options is opened while that step is current, so a step whose action is inside the sheet puts opens on the step that opens it. Each value is checked when the map is mounted. In releases after 0.2.0, not in 0.2.0 or any earlier release.

This is an interface exported by @mapcairn/sdk/browser, checked against version 0.2.0.

Signature​

import type { MountTourStep } from "@mapcairn/sdk/browser";

interface MountTourStep extends Omit<TourStep, "heading" | "text">

Properties​

heading​

readonly heading: string;

The step's heading.

text​

readonly text: string;

What the step asks the person to do.