Function.Get Absolute Client Bounds
sprotty / getAbsoluteClientBounds
getAbsoluteClientBounds(
element
,domHelper
,viewerOptions
):Bounds
Defined in: packages/sprotty/src/features/bounds/model.ts:128
Returns the “client-absolute” bounds of the specified element
.
The client-absolute bounds are relative to the entire browser page.
The element to get the bounds for.
DOMHelper
The dom helper to obtain the SVG element’s id.
The viewer options to obtain sprotty’s container div id.
Bounds