kernl API
    Preparing search index...

    Function createDefaultLayouts

    • The layouts kernl ships, floating first: floating, dwindle (shown as "tiled"), columns and master-stack (shown as "main and stack"). The spacing applies to the three that arrange windows.

      Parameters

      • options: LayoutOptions = {}

        Gap between windows and margin at the container edge, for the tiling layouts.

      Returns LayoutRegistry

      A LayoutRegistry holding the four layouts; register your own on top.

      const layouts = createDefaultLayouts({ gap: 8, margin: 0 });
      layouts.register({ id: 'rows', label: 'rows', strategy: myRowsLayout });