Preparing search index...

    Function computeBufferBounds

    • Computes the buffer zone boundaries around visible items.

      Parameters

      • visibleBounds: VisibleBounds

        The min/max indices of visible items

      • bufferSize: number

        Number of items to include beyond visible range

      • totalRecipes: number

        Total number of recipes in the list

      Returns BufferBounds

      The start and end indices of the buffer zone