number[]The initial size of the panels when rendered.
Use when you don't need to control the size of the panels.
id
stringThe unique identifier of the machine.
ids
{
root?: string;
resizeTrigger(id: string)?: string;
label(id: string)?: string;
panel(id: string | number)?: string;
}The ids of the elements in the splitter. Useful for composition.
keyboardResizeBy
numberThe number of pixels to resize the panel by when the keyboard is used.
nonce
stringThe nonce for the injected splitter cursor stylesheet.
onCollapse
(details: ExpandCollapseDetails) => voidFunction called when a panel is collapsed.
onExpand
(details: ExpandCollapseDetails) => voidFunction called when a panel is expanded.
onResize
(details: ResizeDetails) => voidFunction called when the splitter is resized.
onResizeEnd
(details: ResizeEndDetails) => voidFunction called when the splitter resize ends.
onResizeStart
() => voidFunction called when the splitter resize starts.
orientation
"horizontal"
"horizontal" | "vertical"The orientation of the splitter. Can be `horizontal` or `vertical`