@univerjs/sheets-ui v0.5.0-beta.1Docs


Class: DragManagerService

Extends

Constructors

new DragManagerService()

new DragManagerService(_univerInstanceService, _renderManagerService): DragManagerService

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_renderManagerServiceIRenderManagerService

Returns

DragManagerService

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:45

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
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

Returns

void

Overrides

Disposable.dispose

Defined in

submodules/univer/packages/sheets-ui/src/services/drag-manager.service.ts:54


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


onDragOver()

onDragOver(evt): void

Parameters

ParameterType
evtIDragEvent

Returns

void

Defined in

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


onDrop()

onDrop(evt): void

Parameters

ParameterType
evtIDragEvent

Returns

void

Defined in

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