gridstack
Version:
TypeScript/JS lib for dashboard layout and creation, responsive, mobile support, no external dependencies, with many wrappers (React, Angular, Vue, Ember, knockout...)
23 lines (22 loc) • 864 B
TypeScript
/**
* dd-manager.ts 12.0.0
* Copyright (c) 2021-2024 Alain Dumesny - see GridStack root license
*/
import { DDDraggable } from './dd-draggable';
import { DDDroppable } from './dd-droppable';
import { DDResizable } from './dd-resizable';
/**
* globals that are shared across Drag & Drop instances
*/
export declare class DDManager {
/** if set (true | in msec), dragging placement (collision) will only happen after a pause by the user*/
static pauseDrag: boolean | number;
/** true if a mouse down event was handled */
static mouseHandled: boolean;
/** item being dragged */
static dragElement: DDDraggable;
/** item we are currently over as drop target */
static dropElement: DDDroppable;
/** current item we're over for resizing purpose (ignore nested grid resize handles) */
static overResizeElement: DDResizable;
}