Quartz Headless docs/DropZoneConfig

Search documentation

Type to search the documentation.

API: Core

DropZoneConfig

Interface reference for DropZoneConfig.

Overview

Declaration

interface DropZoneConfig

Properties

Name Type Description
accept? string[] Acceptable drag types
disabled? boolean Whether drop is disabled
sortable? boolean Whether to allow sorting/reordering
orientation? 'horizontal' | 'vertical' Explicit layout axis for before/after drop-position and sortable-index calculation. When unset, falls back to measuring getBoundingClientRect().width > height โ€” a heuristic that can misjudge square-ish zones, short vertical lists in wide containers, or wrapping layouts. Set this explicitly whenever the dropzone's aspect ratio doesn't reliably reflect its scroll/item axis.