API Reference
@univerjs
@univerjs/docs-ui
classes
Docbackscrollrendercontroller

@univerjs/docs-ui v0.4.2Docs


Class: DocBackScrollRenderController

Every render module should implement this interface.

Extends

Implements

Constructors

new DocBackScrollRenderController()

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

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>
_textSelectionManagerServiceDocSelectionManagerService
_editorServiceIEditorService
_docSkeletonManagerServiceDocSkeletonManagerService

Returns

DocBackScrollRenderController

Overrides

RxDisposable.constructor

Defined in

packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:30 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
dispose$protectedSubject<void>undefinedRxDisposable.dispose$packages/core/src/shared/lifecycle.ts:117 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

RxDisposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:119 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

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)


scrollToNode()

scrollToNode(startNodePosition): void

Parameters

ParameterType
startNodePositionNullable<INodePosition>

Returns

void

Defined in

packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:72 (opens in a new tab)


scrollToRange()

scrollToRange(range): void

Parameters

ParameterType
rangeITextRange

Returns

void

Defined in

packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:61 (opens in a new tab)


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