Home > @jsplumb/test > BrowserUITestSupport > aSyncDragConnection
#
BrowserUITestSupport.aSyncDragConnection() methodDrags 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;
#
ParametersParameter | Type | Description |
---|---|---|
d1 | Element | Endpoint | |
d2 | Element | Endpoint | |
events | EventHandlers<Connection> | Map of event handlers for injecting tests into the lifecycle. |
Returns:
void