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
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_renderManagerService | IRenderManagerService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
---|---|---|---|---|---|---|
_disposed | protected | boolean | false | - | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
currentCell$ | public | Observable <Nullable <IHoverCellPosition >> | undefined | - | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:95 |
currentCellPosWithEvent$ | public | Observable < | undefined | null | void | ICellPosWithEvent > | undefined | Nearly same as currentRichText$, but with event | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:137 |
currentClickedCell$ | public | Observable <IHoverRichTextInfo > | undefined | - | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:158 |
currentPointerDownCell$ | public | Observable <ICellPosWithEvent > | undefined | - | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:159 |
currentPointerUpCell$ | public | Observable <ICellPosWithEvent > | undefined | - | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:160 |
currentPosition$ | public | Observable <Nullable <IHoverCellPosition >> | undefined | - | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:157 |
currentRichText$ | public | Observable < | 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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
triggerClick()
triggerClick(
unitId,
offsetX,
offsetY): void
Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:320
Trigger by pointerup.
Parameters
Parameter | Type |
---|---|
unitId | string |
offsetX | number |
offsetY | number |
Returns
void
triggerMouseMove()
triggerMouseMove(unitId, event): void
Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:295
Parameters
Parameter | Type |
---|---|
unitId | string |
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
Parameter | Type |
---|---|
unitId | string |
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
Parameter | Type |
---|---|
unitId | string |
event | | IMouseEvent | IPointerEvent |
Returns
void
triggerScroll()
triggerScroll(): void
Defined in: submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:330
Returns
void