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
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
_textSelectionManagerService | DocSelectionManagerService |
_editorService | IEditorService |
_docSkeletonManagerService | DocSkeletonManagerService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .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
Inherited from
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
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
Parameter | Type |
---|---|
startNodePosition | Nullable <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
Parameter | Type |
---|---|
range | ITextRange |
Returns
void