Fray Electron
    Preparing search index...

    Function movePanelToEdge

    • Moves a panel to an outer edge of the remaining layout.

      Parameters

      • layout: Layout

        Current tree.

      • panelId: string

        Panel to move.

      • side: LayoutSide

        Destination edge.

      • splitId: string

        Id for the new root split.

      Returns Layout

      A new validated layout.

      If no other panel remains.