Skip to main content

Function: getEnabledElementByViewportId()

getEnabledElementByViewportId(viewportId): IEnabledElement

Retrieves the enabled element by the specified viewport ID. it searches through all the rendering engines to find the viewport with the specified

Parameters​

• viewportId: string

The ID of the viewport.

Returns​

IEnabledElement

The enabled element associated with the specified viewport ID.

Defined in​

packages/core/src/getEnabledElement.ts:99