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
Parameter | Type | Description |
---|---|---|
element | Element |
Returns: