Skip to main content

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

Surface.getViewportPositionById() method#

For the given vertex id, retrieve its position in the viewport, including any current rotation.

Signature:

getViewportPositionById(id: string): ViewportElement<any>;

Parameters#

ParameterTypeDescription
idstring

Returns:

ViewportElement<any>