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.
@tinyactors/scxmljs/view — the
<scxml-view>custom element: a whole statechart, drawn and running, with no JavaScript of your own.Importing this module registers
<scxml-view>. The data model engine is loaded on demand: the QuickJS sandbox by default, the host's engine with thetrustedattribute, and neither when you set thesessionproperty to a session of your own.The layout is exported too (
layoutChart,autoCollapse), for hosts that draw charts themselves.