Class: DragManagerService
Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:31
Extends
Constructors
new DragManagerService()
new DragManagerService(_univerInstanceService, _renderManagerService): DragManagerService
Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:45
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_renderManagerService | IRenderManagerService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
currentCell$ | public | Observable <Nullable <IDragCellPosition >> | undefined | - | submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:33 |
endCell$ | public | Observable <Nullable <IDragCellPosition >> | undefined | - | submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:43 |
Methods
dispose()
dispose(): void
Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:54
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
onDragOver()
onDragOver(evt): void
Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:90
Parameters
Parameter | Type |
---|---|
evt | IDragEvent |
Returns
void
onDrop()
onDrop(evt): void
Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:108
Parameters
Parameter | Type |
---|---|
evt | IDragEvent |
Returns
void