Home > @jsplumbtoolkit/browser-ui > PanZoomOptions > clampToBackground
PanZoomOptions.clampToBackground property
Whether or not to clamp to the background image. This flag means the widget will always ensure at least some of the background is visible. See clampToBackgroundExtents
for a variant of this. Defaults to false.
Signature:
clampToBackground?: boolean;