@univerjs/engine-render v0.5.0-beta.1 • Docs
Interface: IRender
Public interface of a RenderUnit.
Properties
Property | Type | Description | Defined in |
---|---|---|---|
components | Map <string , RenderComponentType > | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:34 |
engine | Engine | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:31 |
isMainScene | boolean | - | 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 |
mainComponent | Nullable <RenderComponentType > | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:33 |
scene | Scene | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:32 |
type | UniverInstanceType | - | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:30 |
unitId | string | The 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
Parameter | Type |
---|---|
dependency | DependencyIdentifier <T > |
Returns
T
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/render-manager/render-unit.ts:38