@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: HoverManagerService
Extends
Constructors
new HoverManagerService()
new HoverManagerService(_univerInstanceService, _renderManagerService): HoverManagerService
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_renderManagerService | IRenderManagerService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:113
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
currentCell$ | public | Observable <Nullable <IHoverCellPosition >> | undefined | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:72 |
currentClickedCell$ | public | Observable <IHoverRichTextInfo > | undefined | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:111 |
currentPosition$ | public | Observable <Nullable <IHoverCellPosition >> | undefined | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:110 |
currentRichText$ | public | Observable <undefined | null | void | IHoverRichTextPosition > | undefined | - | submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:84 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:123
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
triggerClick()
triggerClick(
unitId,
offsetX,
offsetY): void
Parameters
Parameter | Type |
---|---|
unitId | string |
offsetX | number |
offsetY | number |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/hover-manager.service.ts:220
triggerMouseMove()
triggerMouseMove(
unitId,
offsetX,
offsetY): void
Parameters
Parameter | Type |
---|---|
unitId | string |
offsetX | number |
offsetY | number |
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