Skip to content

RedDokia API Reference / RedDokiaGroupSchema

Interface: RedDokiaGroupSchema ​

Declarative authoring schema for defining a tabbed group in layout.

Properties ​

PropertyTypeDescription
activeViewId?stringView ID of the initially active tab (defaults to the first entry in children).
childrenstring[]Initial ordered array of view IDs to open as tabs in this group.
emptyContents?unknownCustom empty-state component or DOM mount handler displayed when all tabs in the contents root group are closed.
fixed?booleanLocks the group at a fixed pixel size and disables sash dragging.
id?stringOptional stable group ID (auto-generated if omitted).
locked?booleanWhether the group starts locked against external tab drops and tab removal.
maxHeight?numberMaximum height in pixels.
maxSize?numberMaximum size in pixels along the parent split orientation.
maxWidth?numberMaximum width in pixels.
minHeight?numberMinimum height in pixels.
minSize?numberMinimum size in pixels along the parent split orientation.
minWidth?numberMinimum width in pixels.
showHeader?booleanWhether to display the group tab header bar (true by default).
size?numberRelative flex weight or initial size share among siblings.
snap?booleanEnables drag-to-collapse snapping when resized below minSize (false by default).
type?neverGroups do not specify a split type ('row' | 'col' is reserved for RedDokiaSplitSchema).