kernl API
    Preparing search index...

    Function createDwindleLayout

    • The dwindle layout: each window after the first takes half of the remaining area, splitting vertically then horizontally in turn, so the last window ends up in the smallest corner. Minimised windows are left out.

      Parameters

      Returns LayoutStrategy

      A LayoutStrategy.

      createDwindleLayout({ gap: 8 }).arrange(windows, { x: 0, y: 0, w: 1200, h: 800 });