Skip to main content

AdapterUseRuleDnDResult

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

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

Properties

dndRef

dndRef: Ref<HTMLDivElement>

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


dragHandleAttributes?

optional dragHandleAttributes?: HTMLAttributes<HTMLElement>

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

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:71


dragRef

dragRef: Ref<HTMLSpanElement>

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


dropEffect?

optional dropEffect?: DropEffect

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


dropMonitorId

dropMonitorId: string | symbol

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


dropNotAllowed?

optional dropNotAllowed?: boolean

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


groupItems?

optional groupItems?: boolean

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


isDragging

isDragging: boolean

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


isOver

isOver: boolean

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


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.