Skip to main content

UseRuleGroupDnD

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

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

Properties

dragMonitorId

dragMonitorId: string | symbol

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


dragRef

dragRef: Ref<HTMLSpanElement>

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


dropEffect?

optional dropEffect: DropEffect

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

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


dropMonitorId

dropMonitorId: string | symbol

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


dropRef

dropRef: Ref<HTMLDivElement>

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


groupItems?

optional groupItems: boolean

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

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


isDragging

isDragging: boolean

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


isOver

isOver: boolean

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


previewRef

previewRef: Ref<HTMLDivElement>

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


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.