@univerjsdocs-uiindexclassesDocbackscrollrendercontroller

@univerjs/docs-ui v0.5.4


Class: DocBackScrollRenderController

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

Every render module should implement this interface.

Extends

Implements

Constructors

new DocBackScrollRenderController()

new DocBackScrollRenderController(
   _context, 
   _textSelectionManagerService, 
   _editorService, 
   _docSkeletonManagerService): DocBackScrollRenderController

Defined in: submodules/univer/packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:30

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>
_textSelectionManagerServiceDocSelectionManagerService
_editorServiceIEditorService
_docSkeletonManagerServiceDocSkeletonManagerService

Returns

DocBackScrollRenderController

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


scrollToNode()

scrollToNode(startNodePosition): void

Defined in: submodules/univer/packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:72

Parameters

ParameterType
startNodePositionNullable<INodePosition>

Returns

void


scrollToRange()

scrollToRange(range): void

Defined in: submodules/univer/packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:61

Parameters

ParameterType
rangeITextRange

Returns

void