@univerjs/docs-ui v0.5.0-beta.1 • Docs
Class: DocBackScrollRenderController
Every render module should implement this interface.
Extends
Implements
Constructors
new DocBackScrollRenderController()
new DocBackScrollRenderController(
_context,
_textSelectionManagerService,
_editorService,
_docSkeletonManagerService): DocBackScrollRenderController
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
_textSelectionManagerService | DocSelectionManagerService |
_editorService | IEditorService |
_docSkeletonManagerService | DocSkeletonManagerService |
Returns
Overrides
Defined in
submodules/univer/packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:30
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:117 |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:119
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
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
scrollToNode()
scrollToNode(startNodePosition): void
Parameters
Parameter | Type |
---|---|
startNodePosition | Nullable <INodePosition > |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:72
scrollToRange()
scrollToRange(range): void
Parameters
Parameter | Type |
---|---|
range | ITextRange |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/controllers/render-controllers/back-scroll.render-controller.ts:61