Skip to main content

Home > @jsplumbtoolkit/browser-ui-plugin-background > GeneratedGridBackgroundOptions > autoShrink

GeneratedGridBackgroundOptions.autoShrink property

Defaults to true, and instructs the grid that if the grid has grown beyond any minimum value set in either axis, if the content bounds subsequently shrink in that axis below the minimum, the grid should shrink back to the minimum. If you set this to false the grid will never shrink back to its minimum values once they have been exceeded.

Signature:

autoShrink?: boolean;