RunicComponentElement interface

Module @runic-artifex/views/experimental in @runic-artifex/views 0.23.0

interface RunicComponentElement extends HTMLElement

An element of a component.

Properties

instance

readonly instance: RunicInstance | undefined;

The element's instance while it is mounted.

Methods

connect

connect(connection: RunicComponentConnection): void;

Connects the element. It mounts the component while it is in the document, and again after it was removed and added back. Connecting it again with another connection remounts it.