Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > dragNodeBy

BrowserUITestSupport.dragNodeBy() method#

Drag an element by a given delta in x and y

Signature:

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

Parameters#

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

Returns:

void