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
Parameter | Type | Description |
---|---|---|
v | string | Node | Group | node/group or id of node/group |
x | number | x location to test |
y | number | y location to test |
Returns:
boolean