interface RunicComponentContext What a component's mount function gets for one element.
Properties
element
readonly element: HTMLElement; The custom element, the shadow host.
root
readonly root: ShadowRoot; Its open shadow root, whose adopted stylesheets are the bundle's CSS.
container
readonly container: HTMLElement; The element in the shadow root to render the framework's root into.
instance
readonly instance: RunicInstance; The element's Runic instance: provide it to the framework binding (RunicInstanceProvider and the like).
tag
readonly tag: string; The element's tag name, also the prefix for other custom elements the component defines.