MAIDR Documentation - v3.73.0
    Preparing search index...

    Interface ListWindowParams

    interface ListWindowParams {
        scrollTop: number;
        itemHeight: number;
        viewportHeight: number;
        overscan: number;
        totalCount: number;
        activeIndex: number;
    }
    Index

    Properties

    scrollTop: number

    Current scroll offset of the list viewport, in px.

    itemHeight: number

    Fixed height of every row, in px.

    viewportHeight: number

    Height of the list viewport, in px.

    overscan: number

    Extra rows rendered above and below the visible range.

    totalCount: number

    Total number of options in the list.

    activeIndex: number

    Index of the active (highlighted) option, or -1 for none.