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


Class: HoverManagerService

Extends

Constructors

new HoverManagerService()

new HoverManagerService(_univerInstanceService, _renderManagerService): HoverManagerService

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_renderManagerServiceIRenderManagerService

Returns

HoverManagerService

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:113

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
currentCell$publicObservable<Nullable<IHoverCellPosition>>undefined-submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:72
currentClickedCell$publicObservable<IHoverRichTextInfo>undefined-submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:111
currentPosition$publicObservable<Nullable<IHoverCellPosition>>undefined-submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:110
currentRichText$publicObservable<undefined | null | void | IHoverRichTextPosition>undefined-submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:84

Methods

dispose()

dispose(): void

Returns

void

Overrides

Disposable.dispose

Defined in

submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:123


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


triggerClick()

triggerClick(
   unitId, 
   offsetX, 
   offsetY): void

Parameters

ParameterType
unitIdstring
offsetXnumber
offsetYnumber

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:220


triggerMouseMove()

triggerMouseMove(
   unitId, 
   offsetX, 
   offsetY): void

Parameters

ParameterType
unitIdstring
offsetXnumber
offsetYnumber

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:207


triggerScroll()

triggerScroll(): void

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:227