neux - v0.16.1
    Preparing search index...

    Interface RenderConfig

    Configuration object passed to render or used as a child element.

    Known keys (tagName, className, attributes, dataset, style, children, shadowRootMode, adoptedStyleSheets, namespaceURI, on, use) are handled by the renderer. All other keys are treated as element properties and bound reactively.

    interface RenderConfig {
        adoptedStyleSheets?: CSSStyleSheet[];
        attributes?: ReactiveValue<Record<string, unknown>>;
        children?: ReactiveValue<RenderChild[]>;
        className?: ReactiveValue<string | string[]>;
        dataset?: ReactiveValue<Record<string, unknown>>;
        namespaceURI?: string;
        on?: Record<string, (event: Event) => void>;
        shadowRootMode?: "open" | "closed";
        style?: ReactiveValue<Record<string, unknown>>;
        tagName?: string;
        use?: string | Element;
        [key: string]: unknown;
    }

    Hierarchy

    Indexable

    • [key: string]: unknown
    Index
    adoptedStyleSheets?: CSSStyleSheet[]

    Style sheets adopted by the shadow root.

    attributes?: ReactiveValue<Record<string, unknown>>

    Map of HTML attributes to set on the element.

    Child nodes or config objects rendered inside the element.

    className?: ReactiveValue<string | string[]>

    CSS class name(s) applied to the element.

    dataset?: ReactiveValue<Record<string, unknown>>

    Map of data-* attributes to set on the element.

    namespaceURI?: string

    Explicit namespace URI; auto-detected for SVG and MathML when omitted.

    on?: Record<string, (event: Event) => void>

    Map of event names to handler functions. Includes native DOM events and lifecycle events: mounted, removed, updated.

    shadowRootMode?: "open" | "closed"

    Shadow DOM mode for attaching a shadow root to the element.

    style?: ReactiveValue<Record<string, unknown>>

    Map of inline CSS styles to apply.

    tagName?: string

    Tag name.

    use?: string | Element

    A tag string, optionally with id and class selectors (e.g., "div#id1.cls1.cls2"), an HTML markup, or existing element.