Skip to main content

Announce

Sends a message to the one app-wide announcer: text, or a Message (a key and its parameters) that is formatted with the active catalogue just before it is queued.

This is a type alias exported by @mapcairn/map, checked against version 0.2.0.

Signature​

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

type Announce = (message: string | Message, options?: AnnounceOptions) => void;

See also​

Source: packages/map/src/ui/LiveRegion/announcer.ts:30