@dxos/react-ui
    Preparing search index...
    type VirtualRows = {
        after: number;
        before: number;
        first: number;
        last: number;
        listRef: RefCallback<HTMLElement>;
        scrollToIndex: (index: number) => void;
        spacer: (from: number, to: number) => number;
        spans: VirtualSpan[];
    }
    Index

    Properties

    after: number
    before: number

    Heights of the spacers before and after the mounted rows.

    first: number

    The mounted range, inclusive; the whole list unless windowed.

    last: number
    listRef: RefCallback<HTMLElement>

    Binds the list element; it scrolls itself or is scrolled by its nearest scrolling ancestor.

    scrollToIndex: (index: number) => void

    Scrolls the row at index into view, mounting it; for zag's scrollToIndexFn.

    spacer: (from: number, to: number) => number

    The height a spacer takes in place of the unmounted rows [from, to) (between spans).

    spans: VirtualSpan[]

    The mounted runs in row order: the window, plus the pinned row's own run when it is outside it.