Skip to main content

Home > @jsplumbtoolkit/test-support > jsPlumbToolkitTestHarness > isAtPosition

jsPlumbToolkitTestHarness.isAtPosition() method

Returns whether or not the DOM element representing the given vertex is at the given point p.

Signature:

isAtPosition(v: string | Node | Group, x: number, y: number): boolean;

Parameters

ParameterTypeDescription
vstring | Node | Groupnode/group or id of node/group
xnumberx location to test
ynumbery location to test

Returns:

boolean