Skip to main content

EndStackDirections

The Directions button, shown only when the host offers directions.

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

Signature​

import type { EndStackDirections } from "@mapcairn/map";

interface EndStackDirections

Properties​

active​

readonly active: boolean;

The directions panel is open.

controls​

readonly controls: string;

The id of the sheet or panel that Directions opens.

onToggle​

readonly onToggle: () => void;

Opens the directions panel, or closes it when active.

Source: packages/map/src/chrome/EndStack/EndStack.tsx:26