API Reference
@univerjs
@univerjs/engine-render
interfaces
Irender

@univerjs/engine-render v0.4.2Docs


Interface: IRender

Public interface of a RenderUnit.

Properties

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

Methods

with()

with<T>(dependency): T

Type Parameters

Type Parameter
T

Parameters

ParameterType
dependencyDependencyIdentifier<T>

Returns

T

Defined in

submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:38 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.