@univerjsdocs-uiindexclassesDocrendercontroller

@univerjs/docs-ui v0.5.4


Class: DocRenderController

Defined in: submodules/univer/packages/docs-ui/src/controllers/render-controllers/doc.render-controller.ts:28

Every render module should implement this interface.

Extends

Implements

Constructors

new DocRenderController()

new DocRenderController(
   _context, 
   _commandService, 
   _docSelectionRenderService, 
   _docSkeletonManagerService, 
   _editorService, 
   _renderManagerService, 
   _univerInstanceService): DocRenderController

Defined in: submodules/univer/packages/docs-ui/src/controllers/render-controllers/doc.render-controller.ts:29

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>
_commandServiceICommandService
_docSelectionRenderServiceDocSelectionRenderService
_docSkeletonManagerServiceDocSkeletonManagerService
_editorServiceIEditorService
_renderManagerServiceIRenderManagerService
_univerInstanceServiceIUniverInstanceService

Returns

DocRenderController

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:120

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:122

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

RxDisposable.ensureNotDisposed


reRender()

reRender(unitId): void

Defined in: submodules/univer/packages/docs-ui/src/controllers/render-controllers/doc.render-controller.ts:45

Parameters

ParameterType
unitIdstring

Returns

void