@univerjssheets-uiindexclassesSheetsscrollrendercontroller

@univerjs/sheets-ui v0.5.0-beta.1Docs


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

ParameterType
_contextIRenderContext<Workbook>
_injectorInjector
_sheetSkeletonManagerServiceSheetSkeletonManagerService
_contextServiceIContextService
_commandServiceICommandService
_renderManagerServiceIRenderManagerService
_scrollManagerServiceSheetScrollManagerService

Returns

SheetsScrollRenderController

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets-ui/src/controllers/render-controllers/scroll.render-controller.ts:48

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


scrollToRange()

scrollToRange(
   range, 
   forceTop?, 
   forceLeft?): boolean

Parameters

ParameterType
rangeIRange
forceTop?boolean
forceLeft?boolean

Returns

boolean

Defined in

submodules/univer/packages/sheets-ui/src/controllers/render-controllers/scroll.render-controller.ts:65