Skip to content

RedDokia API Reference / RedDokiaSplitSchema

Interface: RedDokiaSplitSchema ​

Declarative authoring schema for defining a row/column split container in layout.

Properties ​

PropertyTypeDefault valueDescription
childrenRedDokiaLayoutNodeSchema[]undefinedChild split or group schemas arranged along this container's axis.
emptyContents?unknownundefinedCustom empty-state component or DOM mount handler displayed when all closable tabs in the contents stage are closed.
fixed?booleanundefinedLocks this split branch at a fixed pixel size.
id?stringundefinedOptional stable split container ID (auto-generated if omitted).
maxHeight?numberundefinedMaximum height in pixels.
maxSize?numberundefinedMaximum size in pixels along the parent split axis.
maxWidth?numberundefinedMaximum width in pixels.
minHeight?numberundefinedMinimum height in pixels.
minSize?numberundefinedMinimum size in pixels along the parent split axis.
minWidth?numberundefinedMinimum width in pixels.
size?numberundefinedRelative flex weight or size share within the parent split.
snap?booleanundefinedEnables drag-to-collapse snapping below minimum size (false by default).
type?"col" | "row"'row'Split axis direction ('row' for horizontal left-to-right, 'col' for vertical top-to-bottom). Defaults to 'row' when omitted.