Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • Pick the grid that best fills a container of aspect containerAspect.

      Parameters

      • count: number

        Number of tiles. Zero or negative yields a single column.

      • containerAspect: number

        Container width ÷ height. A non-finite or non-positive value (a container not yet laid out, which is what a jsdom test and a first paint both hand over) falls back to a square, so the result is always usable rather than NaN columns.

      • options: FitGridOptions = {}

      Returns GridFit