@univerjs/sheets-ui v0.4.2 • Docs
Class: HoverManagerService
Extends
Constructors
new HoverManagerService()
new HoverManagerService(_univerInstanceService, _renderManagerService): HoverManagerService
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_renderManagerService | IRenderManagerService |
Returns
Overrides
Defined in
packages/sheets-ui/src/services/hover-manager.service.ts:96 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
currentCell$ | public | Observable <Nullable <IHoverCellPosition >> | undefined | - | packages/sheets-ui/src/services/hover-manager.service.ts:57 (opens in a new tab) |
currentClickedCell$ | public | Observable <IHoverRichTextPosition > | undefined | - | packages/sheets-ui/src/services/hover-manager.service.ts:94 (opens in a new tab) |
currentPosition$ | public | Observable <Nullable <IHoverCellPosition >> | undefined | - | packages/sheets-ui/src/services/hover-manager.service.ts:93 (opens in a new tab) |
currentRichText$ | public | Observable <undefined | null | void | { bullet : cell.bullet ; col : cell.location.col ; customRange : cell.customRange ; rect : cell.rect ; row : cell.location.row ; subUnitId : cell.location.subUnitId ; unitId : cell.location.unitId ; }> | undefined | - | packages/sheets-ui/src/services/hover-manager.service.ts:69 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/sheets-ui/src/services/hover-manager.service.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
triggerClick()
triggerClick(
unitId,
offsetX,
offsetY): void
Parameters
Parameter | Type |
---|---|
unitId | string |
offsetX | number |
offsetY | number |
Returns
void
Defined in
packages/sheets-ui/src/services/hover-manager.service.ts:203 (opens in a new tab)
triggerMouseMove()
triggerMouseMove(
unitId,
offsetX,
offsetY): void
Parameters
Parameter | Type |
---|---|
unitId | string |
offsetX | number |
offsetY | number |
Returns
void
Defined in
packages/sheets-ui/src/services/hover-manager.service.ts:190 (opens in a new tab)
triggerScroll()
triggerScroll(): void
Returns
void
Defined in
packages/sheets-ui/src/services/hover-manager.service.ts:210 (opens in a new tab)