Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > aSyncDragConnection

BrowserUITestSupport.aSyncDragConnection() method#

Drags a connection, using the mouse, from one element or endpoint to another element or endpoint, firing each stage after a timeout.

Signature:

aSyncDragConnection(d1: Element | Endpoint, d2: Element | Endpoint, events?: EventHandlers<Connection>): void;

Parameters#

ParameterTypeDescription
d1Element | Endpoint
d2Element | Endpoint
eventsEventHandlers<Connection>Map of event handlers for injecting tests into the lifecycle.

Returns:

void