@tinyactors/scxmljs
    Preparing search index...

    Interface ViewStrings

    Every user-visible string of <scxml-view>. Set view.strings to a partial object to translate.

    interface ViewStrings {
        announceSent: (name: string) => string;
        announceStep: (event: string | undefined, entered: string[]) => string;
        clockTime: (time: string) => string;
        collapse: string;
        diagramLabel: (chart: string) => string;
        errorTitle: string;
        eventless: string;
        expand: string;
        expandAll: string;
        fit: string;
        foldedNotice: (hiddenStates: number, groups: number) => string;
        helpLabel: (name: string) => string;
        helpTransitions: string;
        kinds: Record<ViewStateKind, string>;
        loading: string;
        moreInternal: (n: number) => string;
        noDescription: string;
        noSource: string;
        pause: string;
        play: string;
        playbackLabel: string;
        playKey: string;
        sentError: (name: string, message: string) => string;
        sentNothing: (name: string) => string;
        showWarningState: string;
        speedButton: (speed: string) => string;
        speedLabel: string;
        stateLabel: (
            name: string,
            kind: string,
            active: boolean,
            reached?: boolean,
        ) => string;
        statesInside: (n: number) => string;
        stepHint: string;
        terminated: string;
        transitionInactive: string;
        transitionLabel: (events: string, targets: string) => string;
        warningsSummary: (n: number) => string;
        zoomActual: string;
        zoomIn: string;
        zoomLevel: (percent: number) => string;
        zoomOut: string;
        zoomReset: string;
        zoomToolbar: string;
    }
    Index

    Properties

    announceSent: (name: string) => string

    Live-region text when a label sends an event.

    announceStep: (event: string | undefined, entered: string[]) => string

    Live-region text for a step: the triggering event (if any) and the entered states.

    clockTime: (time: string) => string

    The virtual time readout.

    collapse: string

    Button that folds an expanded container again.

    diagramLabel: (chart: string) => string

    Accessible name of the diagram.

    errorTitle: string

    Heading of the error panel.

    eventless: string

    Label of an eventless transition.

    expand: string

    Button that unfolds a folded container.

    expandAll: string

    Button in the folded-chart notice that unfolds everything.

    fit: string

    The text of the button that goes back to the automatic view (shown once you've zoomed or scrolled away).

    foldedNotice: (hiddenStates: number, groups: number) => string

    Notice when a large chart was folded to fit max-states.

    helpLabel: (name: string) => string

    Accessible name of the help button on a state (name is the state's id or kind).

    helpTransitions: string

    Heading of the list of a state's transitions in its help popover.

    kinds: Record<ViewStateKind, string>

    Kind names, as used in accessible names.

    loading: string

    Shown while the chart source is fetched and compiled.

    moreInternal: (n: number) => string

    More internal transitions than a box shows.

    noDescription: string

    The help popover of a state with no description (no comments in the source, none set with descriptions).

    noSource: string

    No src and no inline source.

    pause: string

    Pause button's accessible name (while playing).

    play: string

    Play button's accessible name (while paused).

    playbackLabel: string

    Accessible name of the playback controls.

    playKey: string

    The play/pause shortcut, shown in its tooltip.

    sentError: (name: string, message: string) => string

    Evaluating a clicked event raised an error (e.g. a condition that throws).

    sentNothing: (name: string) => string

    A clicked event took no transition.

    showWarningState: string

    Tooltip of a warning that focuses its state when clicked.

    speedButton: (speed: string) => string

    Accessible name of the speed button, with the current speed.

    speedLabel: string

    Tooltip of the speed button (it cycles through the speeds).

    stateLabel: (
        name: string,
        kind: string,
        active: boolean,
        reached?: boolean,
    ) => string

    Accessible name of a state box; reached: where a terminated session ended.

    statesInside: (n: number) => string

    Badge on a folded container.

    stepHint: string

    Step button's accessible name and tooltip (mentions the . shortcut).

    terminated: string

    The machine reached a top-level final state (or was cancelled).

    transitionInactive: string

    Tooltip of a transition whose source isn't active (its event would do nothing now).

    transitionLabel: (events: string, targets: string) => string

    Accessible name of a transition button.

    warningsSummary: (n: number) => string

    Summary of the authoring-warnings list (model.warnings).

    zoomActual: string

    Tooltip and accessible name of the zoom level button.

    zoomIn: string

    Button that zooms in.

    zoomLevel: (percent: number) => string

    The zoom level readout, e.g. "80%"; it's a button that sets 100%.

    zoomOut: string

    Button that zooms out.

    zoomReset: string

    Button that goes back to the automatic size (fitted to the element's width).

    zoomToolbar: string

    Accessible name of the zoom toolbar (mentions the shortcuts).