@univerjs/docs-ui v0.4.2 • Docs
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
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
_commandService | ICommandService |
_docSelectionRenderService | DocSelectionRenderService |
_docSkeletonManagerService | DocSkeletonManagerService |
_editorService | IEditorService |
_renderManagerService | IRenderManagerService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
packages/docs-ui/src/controllers/render-controllers/doc.render-controller.ts:29 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | packages/core/src/shared/lifecycle.ts:117 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:119 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
reRender()
reRender(unitId): void
Parameters
Parameter | Type |
---|---|
unitId | string |
Returns
void
Defined in
packages/docs-ui/src/controllers/render-controllers/doc.render-controller.ts:45 (opens in a new tab)