Skip to main content

Home > @jsplumbtoolkit/browser-ui > Surface > getOffset

Surface.getOffset() method#

Gets the offset for the given DOM element.

Signature:

getOffset(el: Element): PointXY;

Parameters#

ParameterTypeDescription
elElement

Returns:

PointXY