Home > @jsplumb/test > BrowserUITestSupport > detachAndReattachConnection
#
BrowserUITestSupport.detachAndReattachConnection() methodDetach and reattach a connection from the given Endpoint by synthesizing a mousedown event, dragging to a distant point, dragging it back to the endpoint, and releasing the mouse.
Signature:
detachAndReattachConnection(e: Endpoint, events?: EventHandlers): void;
#
ParametersParameter | Type | Description |
---|---|---|
e | Endpoint | Endpoint to detach and reattach connection from/to |
events | EventHandlers | Map of event handlers for injecting tests into the lifecycle. |
Returns:
void