effex-monorepo
    Preparing search index...

    Interface SlotEntry<A>

    Represents a rendered slot in a control flow structure.

    interface SlotEntry<A> {
        element: A;
        index?: Signal.Signal<number>;
        item?: Signal.Signal<unknown>;
        key: string;
        scope: CloseableScope;
    }

    Type Parameters

    • A

      The element type (e.g., HTMLElement | SVGElement for DOM)

    Index

    Properties

    element: A

    The rendered element

    index?: Signal.Signal<number>

    Signal for the item index (used by each)

    item?: Signal.Signal<unknown>

    Signal for the item value (used by each)

    key: string

    Unique key identifying this slot

    scope: CloseableScope

    Scope for cleanup when slot is removed