OptionalmarqueeOptionalthresholdMinimum pixels of movement before marquee activates
OptionalaltAllow Alt+drag on items to start marquee instead of item drag
OptionalmarqueeRoot element for the pointerdown listener. HTMLElement or CSS selector. Default: 'html'
OptionalmarqueeFilter where marquee can start. Draggable items are always implicitly excluded.
OptionaldeselectClear selection on click-away (sub-threshold click on non-item space). Default: true
OptionaldeselectFilter where click-away deselection is suppressed.
OptionaltouchHold delay in ms before marquee starts on touch devices. Default: 300
OptionaltouchPixels of movement allowed during touch hold before cancelling. Default: 10
OptionalscopeMulti-list scope. When set, the marquee hit-tests every element
matching each entry's itemSelector inside the marquee area, resolves
each item's owning Sortable instance, and applies selection through
that instance (so per-instance select events fire normally). When
omitted, only the installing instance's own items participate.
Also enables zero-config per-list edge auto-scroll: each participating
instance's own nearest scrollable ancestor is resolved automatically
and auto-scrolls independently as the pointer nears its top/bottom
edge — no extra option needed, and it composes with scrollContainer
(which continues to anchor the marquee to one specific container). Use
autoScrollDistance / autoScrollSpeed to tune it.
OptionalscrollScrollable container to anchor the marquee to. The marquee element is appended inside it (content coordinates, so it stretches while the container scrolls) and pointer positions near the container's top or bottom edge auto-scroll it. HTMLElement or CSS selector.
This is independent of the per-list auto-scroll scope enables: only
this one container gets the content-coordinate anchoring (needed so
the marquee rectangle stretches correctly while it scrolls); scoped
instances' own containers auto-scroll without being anchored to.
OptionalautoDistance (px) from a container's edge that triggers auto-scroll —
applies to scrollContainer and to every container auto-resolved via
scope. Default: 30
OptionalautoAuto-scroll speed in px per millisecond — applies to scrollContainer
and to every container auto-resolved via scope. Default: 0.3
CSS class applied to the marquee rectangle element