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

@univerjs/engine-render v0.4.2Docs


Interface: IRenderContext<T>

Necessary context for a render module.This interface would be the first argument of render modules' constructor functions.

Extends

Type Parameters

Type ParameterDefault type
T extends UnitModelUnitModel

Properties

PropertyTypeOverridesInherited fromDefined in
componentsMap<string, RenderComponentType>-Omit.componentssubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:34 (opens in a new tab)
engineEngine-Omit.enginesubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:31 (opens in a new tab)
isMainSceneboolean-Omit.isMainScenesubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:35 (opens in a new tab)
isThumbNail?boolean-Omit.isThumbNailsubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:36 (opens in a new tab)
mainComponentNullable<RenderComponentType>-Omit.mainComponentsubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:33 (opens in a new tab)
sceneScene-Omit.scenesubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:32 (opens in a new tab)
typenumberOmit.type-submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:52 (opens in a new tab)
unitT--submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:51 (opens in a new tab)
unitIdstring-Omit.unitIdsubmodules/univer/packages/engine-render/src/render-manager/render-unit.ts:29 (opens in a new tab)

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