Xivgear Types Documentation
    Preparing search index...

    Describes a strategy for breaking a table load into smaller units of work by rendering only the first chunk of cells immediately, and then deferring the rest.

    type LazyTableStrategy = {
        altRoot?: HTMLElement;
        immediateRows: number;
        minRows: number;
        rootMargin?: number;
    }
    Index

    Properties

    altRoot?: HTMLElement

    Specify a scroll root to use for the IntersectionObserver

    immediateRows: number

    Max number of rows to render immediately.

    minRows: number

    If there are not at least minRows rows total, do not attempt to lazy render.

    rootMargin?: number

    Specify the extra "buffer" around the scroll root (pixels). Defaults to 2000px if not specified.