mobile-drag-drop
Version:
Polyfill for making HTML5 drag and drop possible in all browsers.
26 lines (25 loc) • 734 B
TypeScript
export declare const CLASS_PREFIX = "dnd-poly-";
export declare const CLASS_DRAG_IMAGE: string;
export declare const CLASS_DRAG_IMAGE_SNAPBACK: string;
export declare const CLASS_DRAG_OPERATION_ICON: string;
export declare const EVENT_PREFIX = "dnd-poly-";
export declare const EVENT_DRAG_DRAGSTART_PENDING: string;
export declare const EVENT_DRAG_DRAGSTART_CANCEL: string;
export declare const enum EFFECT_ALLOWED {
NONE = 0,
COPY = 1,
COPY_LINK = 2,
COPY_MOVE = 3,
LINK = 4,
LINK_MOVE = 5,
MOVE = 6,
ALL = 7
}
export declare const ALLOWED_EFFECTS: string[];
export declare const enum DROP_EFFECT {
NONE = 0,
COPY = 1,
MOVE = 2,
LINK = 3
}
export declare const DROP_EFFECTS: string[];