DragPreviewState
Defined in: dnd/src/types.ts:120
State provided during an active drag with updateWhileDragging enabled.
Properties
draggedPath
draggedPath:
Path
Defined in: dnd/src/types.ts:126
Path of the dragged item in the original query.
dropEffect
dropEffect:
DropEffect
Defined in: dnd/src/types.ts:130
Current drop effect based on modifier keys.
groupItems
groupItems:
boolean
Defined in: dnd/src/types.ts:132
Whether group mode is active.
originalQuery
originalQuery:
RuleGroupTypeAny
Defined in: dnd/src/types.ts:124
The original query before the drag started (for cancel/revert).
previewPath
previewPath:
Path
Defined in: dnd/src/types.ts:128
Path of the dragged item in the shadow query (its preview position).
qbId
qbId:
string
Defined in: dnd/src/types.ts:134
The qbId of the query builder being dragged within.
shadowQuery
shadowQuery:
RuleGroupTypeAny
Defined in: dnd/src/types.ts:122
The shadow/preview query showing the dragged item at its prospective position.
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.