@tinyactors/scxmljs
    Preparing search index...

    Interface TransitionNode

    A transition of a compiled chart.

    interface TransitionNode {
        cond: string | null;
        element: Element | null;
        events: string[];
        order: number;
        source: StateNode;
        targets: StateNode[];
        type: "internal" | "external";
    }
    Index

    Properties

    cond: string | null

    The cond expression, or null.

    element: Element | null

    null for initial transitions synthesised from an initial attribute or default.

    events: string[]

    The event descriptors of the event attribute (empty for eventless transitions).

    order: number

    Document order.

    source: StateNode

    The state it belongs to.

    targets: StateNode[]

    The targets (empty for targetless transitions).

    type: "internal" | "external"

    The type attribute: internal doesn't exit its source state when the targets are its descendants.