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
| Parameter | Type | Description |
|---|---|---|
| el1 | Element | |
| el2 | Element | |
| callbacks | ConnectionDragEventHandlers | Optional map of callbacks for the connection. See ConnectionDragEventHandlers interface. |
Returns:
Connection