@univerjs/sheets-ui v0.5.4


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

ParameterType
_univerInstanceServiceIUniverInstanceService
_renderManagerServiceIRenderManagerService

Returns

DragManagerService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
currentCell$publicObservable<Nullable<IDragCellPosition>>undefined-submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:33
endCell$publicObservable<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

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


onDragOver()

onDragOver(evt): void

Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:90

Parameters

ParameterType
evtIDragEvent

Returns

void


onDrop()

onDrop(evt): void

Defined in: submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:108

Parameters

ParameterType
evtIDragEvent

Returns

void