Skip to main content

Home > @jsplumbtoolkit/browser-ui > SurfaceRenderOptions > addToDragSelectionOnSelect

SurfaceRenderOptions.addToDragSelectionOnSelect property

When true, vertices that are added to the underlying Toolkit's selection will be added to the current drag selection. Prior to 5.10.2 this flag's true state was the default behaviour, but the flag now defaults to false, and the Surface uses the concept of "drag groups" to manage dragging the set of selected elements together. For more information check out the Toolkit docs, specifically the section on element dragging.


addToDragSelectionOnSelect?: boolean;