Skip to main content

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

ViewGroupOptions.autoSize property

False by default. If true, indicates that the group should be resized whenever one of its child elements is dragged. By default this only takes effect if the change in size will cause the group to expand. Set autoShrink:true if you want the group to also automatically shrink.

Signature:

autoSize?: boolean;