Home > @jsplumbtoolkit/browser-ui > SurfaceRenderOptions > clamp
SurfaceRenderOptions.clamp property
Whether or not to limit the canvas movement when dragging or zooming so that some part of the dataset is always visible. Defaults to true.
Signature:
clamp?: boolean;