@haiix/tcomponent
    Preparing search index...

    Interface ComponentParams

    Parameters required to initialize a component.

    interface ComponentParams {
        attributes?: Record<string, string>;
        childNodes?: (string | TNode)[];
        parent?: AbstractComponent;
        signal?: AbortSignal;
    }
    Index

    Properties

    attributes?: Record<string, string>

    Attributes passed down to the component.

    childNodes?: (string | TNode)[]

    Child nodes passed to the component.

    The parent component instance, if any.

    signal?: AbortSignal

    An AbortSignal used to manage event listeners and component teardown.