Skip to main content

Home > @jsplumbtoolkit/browser-ui > getAbsolutePosition

getAbsolutePosition() function#

Returns the position of the given element, as reported by the left and top properties of the element's style.

Signature:

export declare function getAbsolutePosition(element: Element): PointXY;

Parameters#

ParameterTypeDescription
elementElement

Returns:

PointXY