Class. Hidden Bounds Updater
root:
undefined
|SModelRootImpl
Defined in: packages/sprotty/src/features/bounds/hidden-bounds-updater.ts:58
decorate(
vnode
,element
):VNode
Defined in: packages/sprotty/src/features/bounds/hidden-bounds-updater.ts:60
VNode
VNode
protected
getBounds(elm
,element
):Bounds
Defined in: packages/sprotty/src/features/bounds/hidden-bounds-updater.ts:158
Compute the bounds of the given DOM element. Override this method to customize how the bounding box of a rendered view is determined.
In case your Sprotty model element contains children that are rendered outside of
their parent, you can add the ATTR_BBOX_ELEMENT
attribute to the SVG element
that shall be used to compute the bounding box.
Node
SModelElementImpl
& InternalBoundsAware
Bounds
protected
getBoundsFromDOM():void
Defined in: packages/sprotty/src/features/bounds/hidden-bounds-updater.ts:115
void
postUpdate(
cause?
):void
Defined in: packages/sprotty/src/features/bounds/hidden-bounds-updater.ts:75
Action
void