@univerjs/sheets-ui v0.4.2 • Docs
Class: DragManagerService
Extends
Constructors
new DragManagerService()
new DragManagerService(_univerInstanceService, _renderManagerService): DragManagerService
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_renderManagerService | IRenderManagerService |
Returns
Overrides
Defined in
packages/sheets-ui/src/services/drag-manager.service.ts:45 (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 <IDragCellPosition >> | undefined | - | packages/sheets-ui/src/services/drag-manager.service.ts:33 (opens in a new tab) |
endCell$ | public | Observable <Nullable <IDragCellPosition >> | undefined | - | packages/sheets-ui/src/services/drag-manager.service.ts:43 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/sheets-ui/src/services/drag-manager.service.ts:54 (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)
onDragOver()
onDragOver(evt): void
Parameters
Parameter | Type |
---|---|
evt | IDragEvent |
Returns
void
Defined in
packages/sheets-ui/src/services/drag-manager.service.ts:90 (opens in a new tab)
onDrop()
onDrop(evt): void
Parameters
Parameter | Type |
---|---|
evt | IDragEvent |
Returns
void
Defined in
packages/sheets-ui/src/services/drag-manager.service.ts:108 (opens in a new tab)