API Reference
@univerjs
@univerjs/engine-render
classes
Univerrenderconfigservice

@univerjs/engine-render v0.4.2Docs


Class: UniverRenderConfigService

This service carries managers render config that would be passed to every widget, so some rendering could be optimized.

Constructors

new UniverRenderConfigService()

new UniverRenderConfigService(): UniverRenderConfigService

Returns

UniverRenderConfigService

Properties

PropertyModifierTypeDefined in
updateSignal$readonlyObservable<void>submodules/univer/packages/engine-render/src/services/render-config.service.ts:32 (opens in a new tab)

Methods

getRenderConfig()

getRenderConfig(): Readonly<Record<string, any>>

Returns

Readonly<Record<string, any>>

Defined in

submodules/univer/packages/engine-render/src/services/render-config.service.ts:43 (opens in a new tab)


setRenderConfig()

setRenderConfig(key, value): void

Parameters

ParameterType
keystring
valueany

Returns

void

Defined in

submodules/univer/packages/engine-render/src/services/render-config.service.ts:34 (opens in a new tab)


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