Scopes
Public API
WebIO.Scope — TypeScope(<keyword arguments>)An object which can send and receive messages.
Arguments
dom: The DOM node that will be rendered when the scope is displayed in the browser.imports: An collection ofAssets to load (seeAssetfor more documentation) when the scope is mounted. If the entry is not anAssetthen it should be an argument to construct anAsset.
Examples
myscope = Scope(
dom=node(:p, "I'm a little scope!"),
imports=[Asset("foo.js"), "bar.css", "spam" => "spam.js"],
)