Skip to main content

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

ParameterTypeDescription
ep1Endpoint
ep2Endpoint
callbacksConnectionDragEventHandlersOptional map of callbacks for the connection. See ConnectionDragEventHandlers interface.

Returns:

Connection