@univerjs/engine-render v0.5.0-beta.1Docs


Interface: IRender

Public interface of a RenderUnit.

Properties

PropertyTypeDescriptionDefined in
componentsMap<string, RenderComponentType>-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:34
engineEngine-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:31
isMainSceneboolean-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:35
isThumbNail?boolean-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:36
mainComponentNullable<RenderComponentType>-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:33
sceneScene-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:32
typeUniverInstanceType-packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:30
unitIdstringThe id of the RenderUnit.packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:29

Methods

with()

with<T>(dependency): T

Type Parameters

Type Parameter
T

Parameters

ParameterType
dependencyDependencyIdentifier<T>

Returns

T

Defined in

packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:38