Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > detachConnection

BrowserUITestSupport.detachConnection() method#

Detach a connection from the given Endpoint by synthesizing a mousedown event, dragging to a distant point, and releasing the mouse.

Signature:

detachConnection(e: Endpoint, events?: EventHandlers): void;

Parameters#

ParameterTypeDescription
eEndpointEndpoint to detach connection from
eventsEventHandlersMap of event handlers for injecting tests into the lifecycle.

Returns:

void