Skip to main content

OnDragMoveCallback

OnDragMoveCallback = (params: { draggedItem: DraggedItem; originalQuery: RuleGroupTypeAny; previewPath: Path; shadowQuery: RuleGroupTypeAny; }) => void

Defined in: dnd/src/types.ts:142

Callback invoked on each drag position change when updateWhileDragging is enabled.

Parameters

ParameterType
params{ draggedItem: DraggedItem; originalQuery: RuleGroupTypeAny; previewPath: Path; shadowQuery: RuleGroupTypeAny; }
params.draggedItemDraggedItem
params.originalQueryRuleGroupTypeAny
params.previewPathPath
params.shadowQueryRuleGroupTypeAny

Returns

void


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.