Skip to main content

Home > @jsplumb/browser-ui > groupDragConstrain

groupDragConstrain() function#

Signature:

export declare function groupDragConstrain(desiredLoc: PointXY, dragEl: jsPlumbDOMElement, constrainRect: BoundingBox, size: Size): PointXY;

Parameters#

ParameterTypeDescription
desiredLocPointXY
dragEljsPlumbDOMElement
constrainRectBoundingBox
sizeSize

Returns:

PointXY