@tinyactors/scxmljs
    Preparing search index...

    Module view

    @tinyactors/scxmljs/view — the <scxml-view> custom element: a whole statechart, drawn and running, with no JavaScript of your own.

    <script type="module">import "@tinyactors/scxmljs/view";</script>
    <scxml-view src="traffic-light.scxml"></scxml-view>

    Importing this module registers <scxml-view>. The data model engine is loaded on demand: the QuickJS sandbox by default, the host's engine with the trusted attribute, and neither when you set the session property to a session of your own.

    The layout is exported too (layoutChart, autoCollapse), for hosts that draw charts themselves.

    Classes

    ScxmlView
    ViewSourceError

    Interfaces

    BoxLayout
    ChartLayout
    EdgeLayout
    InitialMarker
    LayoutOptions
    Point
    Rect
    Size
    Spacing
    ViewErrorDetail
    ViewLoadDetail
    ViewSendDetail
    ViewStrings

    Type Aliases

    BoxKind
    Direction
    EdgeKind
    ViewAnnounce
    ViewDirection
    ViewOptions
    ViewStateKind

    Variables

    defaultViewStrings

    Functions

    autoCollapse
    layoutChart