Harmless

    Interface ForProperties<T>

    Properties for For component.

    interface ForProperties<T = unknown> {
        children: (item: T, index: Signal<number>) => Element;
        each: readonly T[] | SignalSource<readonly T[]>;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    Properties

    children: (item: T, index: Signal<number>) => Element

    The children to render for each iterated value.

    each: readonly T[] | SignalSource<readonly T[]>

    The values to iterate over. Either a fixed array or a function returning an array (with dependency tracking) or a signal containing an array.

    MMNEPVFCICPMFPCPTTAAATR