Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > dragNodeTo

BrowserUITestSupport.dragNodeTo() method#

Drag an element to a given x and y location

Signature:

dragNodeTo(el: Element, x: number, y: number, events?: EventHandlers): void;

Parameters#

ParameterTypeDescription
elElementElement to drag
xnumberX location to drag to
ynumberY location to drag to
eventsEventHandlersMap of lifecycle event handlers

Returns:

void