An object which can send and receive messages.
dom: The DOM node that will be rendered when the scope is displayed in the browser.
imports: An collection of
Assets to load (see
Assetfor more documentation) when the scope is mounted. If the entry is not an
Assetthen it should be an argument to construct an
myscope = Scope( dom=node(:p, "I'm a little scope!"), imports=[Asset("foo.js"), "bar.css", "spam" => "spam.js"], )