API Reference
@univerjs
@univerjs/sheets-ui
classes
Sheetsscrollrendercontroller

@univerjs/sheets-ui v0.4.2Docs


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

packages/sheets-ui/src/controllers/render-controllers/scroll.render-controller.ts:47 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


scrollToRange()

scrollToRange(range): boolean

Parameters

ParameterType
rangeIRange

Returns

boolean

Defined in

packages/sheets-ui/src/controllers/render-controllers/scroll.render-controller.ts:64 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.