Home > @jsplumbtoolkit/test-support > jsPlumbToolkitTestHarness > dragConnectionBetweenEndpoints
jsPlumbToolkitTestHarness.dragConnectionBetweenEndpoints() method
Connect, using the mouse, the given two endpoints.
Signature:
dragConnectionBetweenEndpoints(ep1: Endpoint, ep2: Endpoint, callbacks?: ConnectionDragEventHandlers): Connection;
Parameters
Parameter | Type | Description |
---|---|---|
ep1 | Endpoint | |
ep2 | Endpoint | |
callbacks | ConnectionDragEventHandlers | Optional map of callbacks for the connection. See ConnectionDragEventHandlers interface. |
Returns:
Connection