Skip to main content

Home > @jsplumbtoolkit/test-support > jsPlumbToolkitTestHarness > dragConnectionBetweenElements

jsPlumbToolkitTestHarness.dragConnectionBetweenElements() method

Connect, using the mouse, the given two dom elements.

Signature:

dragConnectionBetweenElements(el1: Element, el2: Element, callbacks?: ConnectionDragEventHandlers): Connection;

Parameters

ParameterTypeDescription
el1Element
el2Element
callbacksConnectionDragEventHandlersOptional map of callbacks for the connection. See ConnectionDragEventHandlers interface.

Returns:

Connection