Skip to main content

Home > @jsplumbtoolkit/browser-ui > ViewGroupOptions > autoShrink

ViewGroupOptions.autoShrink property

False by default. If true, (and autoSize is also true) indicates that if a child member is dragged/added/removed and the group's size is recalculated to be smaller than the previous size, the new size should be applied.

Signature:

autoShrink?: boolean;