@univerjs/engine-render v0.5.0-beta.1 • Docs
Interface: IRenderContext<T>
Necessary context for a render module.This interface would be the first argument of render modules’ constructor functions.
Extends
Omit
<IRender
,"with"
>
Type Parameters
Type Parameter | Default type |
---|---|
T extends UnitModel | UnitModel |
Properties
Property | Type | Overrides | Inherited from | Defined in |
---|---|---|---|---|
components | Map <string , RenderComponentType > | - | Omit.components | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:34 |
engine | Engine | - | Omit.engine | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:31 |
isMainScene | boolean | - | Omit.isMainScene | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:35 |
isThumbNail? | boolean | - | Omit.isThumbNail | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:36 |
mainComponent | Nullable <RenderComponentType > | - | Omit.mainComponent | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:33 |
scene | Scene | - | Omit.scene | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:32 |
type | number | Omit.type | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:52 |
unit | T | - | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:51 |
unitId | string | - | Omit.unitId | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:29 |