# MountTour

A first-visit tour a page gives its map: a welcome card, steps that each end
when the person does what they ask, and an ending. The map has no tour of its
own, because the words and the steps are the page's. 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

```ts
import type { MountTour } from "@mapcairn/sdk/browser";
 
interface MountTour
```

## Properties

### ending

```ts
readonly ending: MountTourCard;
```

The card shown after the last step.

### steps

```ts
readonly steps: readonly MountTourStep[];
```

The steps, in order: at least one.

### version

```ts
readonly version: number;
```

The tour's version, a whole number from 1. The answer is saved with it, so
a higher number offers the tour again to a person who answered a lower one.
Help can start the tour at any time. The welcome card is offered only where
the settings are kept, and not for a visit that arrives by a shared link
that carries a view, layers or shapes.

### welcome

```ts
readonly welcome: MountTourCard & {
        readonly announcement: string;
    };
```

The welcome card, offered on a first visit.

## See also

- [`MountTourCard`](https://docs.mapcairn.com/api/sdk/browser/MountTourCard.md)
- [`MountTourStep`](https://docs.mapcairn.com/api/sdk/browser/MountTourStep.md)
