@univerjsdocs-uiindexclassesDocrendercontroller

@univerjs/docs-ui v0.5.0-beta.1Docs


Class: DocRenderController

Every render module should implement this interface.

Extends

Implements

Constructors

new DocRenderController()

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

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>
_commandServiceICommandService
_docSelectionRenderServiceDocSelectionRenderService
_docSkeletonManagerServiceDocSkeletonManagerService
_editorServiceIEditorService
_renderManagerServiceIRenderManagerService
_univerInstanceServiceIUniverInstanceService

Returns

DocRenderController

Overrides

RxDisposable.constructor

Defined in

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

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

RxDisposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:119


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


reRender()

reRender(unitId): void

Parameters

ParameterType
unitIdstring

Returns

void

Defined in

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