API Reference
@univerjs
@univerjs/sheets-ui
classes
Dragmanagerservice

@univerjs/sheets-ui v0.4.2Docs


Class: DragManagerService

Extends

Constructors

new DragManagerService()

new DragManagerService(_univerInstanceService, _renderManagerService): DragManagerService

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_renderManagerServiceIRenderManagerService

Returns

DragManagerService

Overrides

Disposable.constructor

Defined in

packages/sheets-ui/src/services/drag-manager.service.ts:45 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)
currentCell$publicObservable<Nullable<IDragCellPosition>>undefined-packages/sheets-ui/src/services/drag-manager.service.ts:33 (opens in a new tab)
endCell$publicObservable<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

Disposable.dispose

Defined in

packages/sheets-ui/src/services/drag-manager.service.ts:54 (opens in a new tab)


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


onDragOver()

onDragOver(evt): void

Parameters

ParameterType
evtIDragEvent

Returns

void

Defined in

packages/sheets-ui/src/services/drag-manager.service.ts:90 (opens in a new tab)


onDrop()

onDrop(evt): void

Parameters

ParameterType
evtIDragEvent

Returns

void

Defined in

packages/sheets-ui/src/services/drag-manager.service.ts:108 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.