Quick Start
FlexLayout primarily handles split screens in one direction.
Basic Row Split
Column Split + grow
Pre-assign specific area ratios in vertical splits.
Multi-Cross (Nested)
Splits in more than one direction are created by overlapping FlexLayouts.
min/max + isFitContent
Resize range limit + content size based limit
By specifying minimum/maximum sizes using CSS in FlexLayoutContainer, you can control the resize range.
Alternatively, you can use it like this.
The execution result is as follows.
Panel Movement Mode (panelMovementMode)
Interaction method with adjacent panels during resize
panelMovementModeis a property that controls how adjacent panels move when resizing the panel. The default value is divorceand the following modes can be used.
bulldozer
Pushes away adjacent panels but does not stick to each other.
divorce (기본값)
Pushes away adjacent panels and sticks to each other, but separates again when returning to the position where resizing started.
stalker
Adjacent panels completely stick to each other but separate again when reaching the end.
Last Checking
isResizePanel
The resize panel will be rendered as a sibling of the container.
For example: Between Mid and Right, the ownership of the resize panel is with Mid, but the resize panel handles both siblings.
grow
Specifies the initial ratio of a specific container.
Containers without grow specified will evenly distribute the remaining space excluding the specified grow.
isFitContent
Limits the container from resizing larger than the size of its internal child elements.
panelMovementMode
Sets the interaction method with adjacent panels during panel resize.
"bulldozer": Pushes adjacent panels away but does not stick.
"divorce": Pushes adjacent panels away and sticks, but separates when returning (default).
"stalker": Adjacent panels completely stick together but separate when reaching the end.