Skip to content

RedDokia API Reference / RedDokiaNodeConstraints

Interface: RedDokiaNodeConstraints ​

Size bounds and resize behavior constraints attached to a layout tree node.

Properties ​

PropertyTypeDescription
fixed?booleanLocks the node at a fixed pixel size and prevents interactive sash resizing.
maxHeight?numberMaximum allowed height in pixels regardless of split orientation.
maxSize?numberMaximum allowed size in pixels along the parent split axis.
maxWidth?numberMaximum allowed width in pixels regardless of split orientation.
minHeight?numberMinimum allowed height in pixels regardless of split orientation.
minSize?numberMinimum guaranteed size in pixels along the parent split axis.
minWidth?numberMinimum allowed width in pixels regardless of split orientation.
snap?booleanWhether dragging past the minimum size threshold snaps the node into a collapsed state (false by default).