@univerjs/docs-ui v0.4.2 • 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
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)
scrollToNode()
scrollToNode(startNodePosition): void
Parameters
Parameter | Type |
---|---|
startNodePosition | Nullable <INodePosition > |
Returns
void
Defined in
scrollToRange()
scrollToRange(range): void
Parameters
Parameter | Type |
---|---|
range | ITextRange |
Returns
void