Home > @jsplumb/test > BrowserUITestSupport > relocateSource
#
BrowserUITestSupport.relocateSource() methodRelocate the source of the given connection onto a different element
Signature:
relocateSource(conn: Connection, newEl: Element, events?: EventHandlers): void;
#
ParametersParameter | Type | Description |
---|---|---|
conn | Connection | Connection to relocate target for |
newEl | Element | DOM Element to drop the target ontp |
events | EventHandlers | Optional map of event handlers, allowing you to inject tests at various phases in the lifecycle |
Returns:
void