OnDragMoveCallback
OnDragMoveCallback = (
params: {draggedItem:DraggedItem;originalQuery:RuleGroupTypeAny;previewPath:Path;shadowQuery:RuleGroupTypeAny; }) =>void
Defined in: dnd/src/types.ts:140
Callback invoked on each drag position change when updateWhileDragging is enabled.
Parameters
| Parameter | Type |
|---|---|
params | { draggedItem: DraggedItem; originalQuery: RuleGroupTypeAny; previewPath: Path; shadowQuery: RuleGroupTypeAny; } |
params.draggedItem | DraggedItem |
params.originalQuery | RuleGroupTypeAny |
params.previewPath | Path |
params.shadowQuery | RuleGroupTypeAny |
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.