Skip to main content

AdapterUseRuleGroupDnDResult

Defined in: dnd/src/adapter.ts:91

Return type for the adapter's useRuleGroupDnD hook. Matches the existing UseRuleGroupDnD interface from react-querybuilder.

Properties​

dragHandleAttributes?​

optional dragHandleAttributes?: HTMLAttributes<HTMLElement>

Defined in: dnd/src/adapter.ts:104

Props to spread onto the drag handle element (e.g. ARIA attributes and sensor event listeners). Applied as JSX props rather than imperative DOM manipulation.


dragMonitorId​

dragMonitorId: string | symbol

Defined in: dnd/src/adapter.ts:93


dragRef​

dragRef: Ref<HTMLSpanElement>

Defined in: dnd/src/adapter.ts:97


dropEffect?​

optional dropEffect?: DropEffect

Defined in: dnd/src/adapter.ts:105


dropMonitorId​

dropMonitorId: string | symbol

Defined in: dnd/src/adapter.ts:95


dropNotAllowed?​

optional dropNotAllowed?: boolean

Defined in: dnd/src/adapter.ts:107


dropRef​

dropRef: Ref<HTMLDivElement>

Defined in: dnd/src/adapter.ts:98


groupItems?​

optional groupItems?: boolean

Defined in: dnd/src/adapter.ts:106


isDragging​

isDragging: boolean

Defined in: dnd/src/adapter.ts:92


isOver​

isOver: boolean

Defined in: dnd/src/adapter.ts:94


previewRef​

previewRef: Ref<HTMLDivElement>

Defined in: dnd/src/adapter.ts:96


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.