Home > @jsplumb/test > BrowserUITestSupport > relocateTarget
#
BrowserUITestSupport.relocateTarget() methodRelocate the target of the given connection onto a different element
Signature:
relocateTarget(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