RuleDropInfo
Defined in: dnd/src/types.ts:158
Info provided to the OnRuleDropCallback after a drop completes.
Properties
draggedItem
draggedItem:
RuleType<string,string,any,string,Record<string,any>> |RuleGroupTypeAny
Defined in: dnd/src/types.ts:160
The dragged rule or group.
dropEffect
dropEffect:
DropEffect
Defined in: dnd/src/types.ts:170
Whether the item was moved or copied.
groupItems
groupItems:
boolean
Defined in: dnd/src/types.ts:172
Whether the drop created a new group around the target.
isCrossBuilder
isCrossBuilder:
boolean
Defined in: dnd/src/types.ts:174
Whether the drop crossed query builder boundaries.
sourcePath
sourcePath:
Path
Defined in: dnd/src/types.ts:166
Path of the item in the source query builder before the drop.
sourceQbId
sourceQbId:
string
Defined in: dnd/src/types.ts:162
The qbId of the source query builder.
targetPath
targetPath:
Path
Defined in: dnd/src/types.ts:168
Path where the item was inserted in the target query builder.
targetQbId
targetQbId:
string
Defined in: dnd/src/types.ts:164
The qbId of the target query builder.
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.