RunicComponentOptions interface

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

interface RunicComponentOptions

Properties

tag

readonly tag: string;

The tag name. The build target generates it per guest and build (<name>-<hash>). When another definition already holds it, such as the same build loaded from another guest's origin, the element is defined as <tag>-2, <tag>-3 and so on: RunicComponentDefinition is the name it got.

mount

readonly mount: RunicComponentMount;

No documentation.

styles

readonly styles?: readonly RunicComponentStyle[];

No documentation.

connect

readonly connect?: (endpoint: RunicComponentEndpoint) => RunicBridgeClient;

Makes the Bridge of an element connected with an endpoint. Defaults to connectComponentBridge . When the Bridge has a close method, the element calls it when it ends.