Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > assignToDragGroup

Surface.assignToDragGroup() method#

Runs each of the given objects through the code that automatically assigns them to a drag group.

Signature:

assignToDragGroup(...objects: Array<string | Node | ObjectData | jsPlumbToolkitDOMElement>): void;

Parameters#

ParameterTypeDescription
objectsArray<string | Node | ObjectData | jsPlumbToolkitDOMElement>

Returns:

void