rueder frontend
    Preparing search index...

    Function listFits

    • How wide the list beside an article is and may become, in a room this many pixels wide: the kept width, unless the room is too narrow for it. A room of 0 is not laid out yet. The bar starts from what is seen, so it moves the list at once in a window that shrank since the width was kept.

      Parameters

      • kept: number
      • room: number

      Returns { max: number; width: number }