Function cellArray

  • Create a mutable array of cells that keeps track of insertions and deletions.

    Use this instead of a regular array cell (cell([1, 2, 3])) when you need to modify individual cells or need to make many small insertions and deletions.

    Type Parameters

    • TItem

    Parameters

    • initialItems: Iterable<TItem> = []

      The initial items of the array

    Returns CellArray<TItem>

    A reactive cell array