gridstack - v13.1.2
    Preparing search index...

    Class DDManager

    Global state manager for all Drag & Drop instances.

    This class maintains shared state across all drag & drop operations, ensuring proper coordination between multiple grids and drag/drop elements. All properties are static to provide global access throughout the DD system.

    Index

    Constructors

    Properties

    dragElement?: DDDraggable

    Reference to the element currently being dragged. Used to track the active drag operation across the system.

    dropElement?: DDDroppable

    Reference to the drop target element currently under the cursor. Used to handle drop operations and hover effects.

    mouseHandled?: boolean

    Flag indicating if a mouse down event was already handled. Prevents multiple handlers from processing the same mouse event.

    mouseHandledTimeStamp?: number

    The timeStamp of the mousedown event that set mouseHandled. Used to distinguish stale state (from a prior incomplete drag) from a bubbled event of the current mousedown (which should not reset the flag).

    overResizeElement?: DDResizable

    Reference to the element currently being resized. Helps ignore nested grid resize handles during resize operations.

    pauseDrag?: number | boolean

    Controls drag operation pausing behavior. If set to true or a number (milliseconds), dragging placement and collision detection will only happen after the user pauses movement. This improves performance during rapid mouse movements.