Skip to main content

UseRuleDnD

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:470

Return type of @react-querybuilder/dnd!useRuleDnD hook.

Properties

dndRef

dndRef: Ref<HTMLDivElement>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:476


dragMonitorId

dragMonitorId: string | symbol

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:472


dragRef

dragRef: Ref<HTMLSpanElement>

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:475


dropEffect?

optional dropEffect: DropEffect

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:478

"move" by default; "copy" if the modifier key is pressed.


dropMonitorId

dropMonitorId: string | symbol

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:474


groupItems?

optional groupItems: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:480

True if the dragged and hovered items should form a new group.


isDragging

isDragging: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:471


isOver

isOver: boolean

Defined in: packages/react-querybuilder/src/types/propsUsingReact.ts:473


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.