Skip to main content

Interface: DnDContextType<DragData, DropData>

Defined in: types/index.ts:71

Interface representing the drag and drop context type.

Type Parameters

DragData

DragData extends object

The type of data being dragged

DropData

DropData extends object = DragData

The type of data for drop targets (defaults to DragData)

Properties

monitor

monitor: Monitor<DragData, DropData>

Defined in: types/index.ts:76

The monitor instance that tracks drag and drop operations


isDragging

isDragging: boolean

Defined in: types/index.ts:78

Whether a drag operation is currently active


sv

sv: SharedValue<DragCoords>

Defined in: types/index.ts:80

Shared value for drag coordinates


svOverLayout

svOverLayout: SharedValue<LayoutRectangle>

Defined in: types/index.ts:82

Shared value for overlay layout information