@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;
        foldedNotice: (hiddenStates: number, groups: number) => string;
        kinds: Record<ViewStateKind, string>;
        loading: string;
        moreInternal: (n: number) => string;
        noSource: string;
        pause: string;
        play: string;
        playHint: string;
        sentError: (name: string, message: string) => string;
        sentNothing: (name: string) => string;
        showWarningState: string;
        speedLabel: string;
        stateLabel: (
            name: string,
            kind: string,
            active: boolean,
            reached?: boolean,
        ) => string;
        statesInside: (n: number) => string;
        step: string;
        stepHint: string;
        terminated: string;
        transitionInactive: string;
        transitionLabel: (events: string, targets: string) => string;
        warningsSummary: (n: number) => 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.

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

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

    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.

    noSource: string

    No src and no inline source.

    pause: string

    Pause button (while playing).

    play: string

    Play button (while paused).

    playHint: string

    Tooltip of the play/pause button (mentions the Space shortcut).

    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.

    speedLabel: string

    Accessible name of the speed buttons.

    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.

    step: string

    Step button.

    stepHint: string

    Tooltip of the step button (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).