blessed-components - v1.20.0
    Preparing search index...

    Interface ComputeVirtualListWindowOptions<TItem>

    Options accepted by computeVirtualListWindow.

    interface ComputeVirtualListWindowOptions<TItem extends ListItem = ListItem> {
        height: number;
        items: readonly TItem[];
        offset?: number;
        overscan?: number;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    height: number

    Number of visible rows.

    items: readonly TItem[]

    Full ordered item collection. Caller-owned data is never mutated.

    offset?: number

    First visible source index.

    0

    overscan?: number

    Extra rows retained before and after the visible viewport.

    0