@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: SheetsScrollRenderController
This controller handles scroll logic in sheet interaction.
Extends
Implements
Constructors
new SheetsScrollRenderController()
new SheetsScrollRenderController(
_context,
_injector,
_sheetSkeletonManagerService,
_contextService,
_commandService,
_renderManagerService,
_scrollManagerService): SheetsScrollRenderController
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <Workbook > |
_injector | Injector |
_sheetSkeletonManagerService | SheetSkeletonManagerService |
_contextService | IContextService |
_commandService | ICommandService |
_renderManagerService | IRenderManagerService |
_scrollManagerService | SheetScrollManagerService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets-ui/src/controllers/render-controllers/scroll.render-controller.ts:48
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
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
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
scrollToRange()
scrollToRange(
range,
forceTop?,
forceLeft?): boolean
Parameters
Parameter | Type |
---|---|
range | IRange |
forceTop ? | boolean |
forceLeft ? | boolean |
Returns
boolean
Defined in
submodules/univer/packages/sheets-ui/src/controllers/render-controllers/scroll.render-controller.ts:65