@univerjs/sheets-ui v0.5.4


Class: HoverManagerService

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:85

Extends

Constructors

new HoverManagerService()

new HoverManagerService(_univerInstanceService, _renderManagerService): HoverManagerService

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:162

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_renderManagerServiceIRenderManagerService

Returns

HoverManagerService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueDescriptionInherited fromDefined in
_disposedprotectedbooleanfalse-Disposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
currentCell$publicObservable<Nullable<IHoverCellPosition>>undefined--submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:95
currentCellPosWithEvent$publicObservable< | undefined | null | void | ICellPosWithEvent>undefinedNearly same as currentRichText$, but with event-submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:137
currentClickedCell$publicObservable<IHoverRichTextInfo>undefined--submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:158
currentPointerDownCell$publicObservable<ICellPosWithEvent>undefined--submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:159
currentPointerUpCell$publicObservable<ICellPosWithEvent>undefined--submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:160
currentPosition$publicObservable<Nullable<IHoverCellPosition>>undefined--submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:157
currentRichText$publicObservable< | undefined | null | void | IHoverRichTextPosition>undefined--submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:107

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:172

Returns

void

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


triggerClick()

triggerClick(
   unitId, 
   offsetX, 
   offsetY): void

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:320

Trigger by pointerup.

Parameters

ParameterType
unitIdstring
offsetXnumber
offsetYnumber

Returns

void


triggerMouseMove()

triggerMouseMove(unitId, event): void

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:295

Parameters

ParameterType
unitIdstring
event| IMouseEvent | IPointerEvent

Returns

void


triggerPointerDown()

triggerPointerDown(unitId, event): void

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:273

Parameters

ParameterType
unitIdstring
event| IMouseEvent | IPointerEvent

Returns

void


triggerPointerUp()

triggerPointerUp(unitId, event): void

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:284

Parameters

ParameterType
unitIdstring
event| IMouseEvent | IPointerEvent

Returns

void


triggerScroll()

triggerScroll(): void

Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:330

Returns

void