An options object for initializing a Drag object.

interface IOptions {
    drag: Drag;
    related: null | Element;
    type: "lm-dragenter" | "lm-dragexit" | "lm-dragleave" | "lm-dragover" | "lm-drop";
}

Properties

Properties

drag: Drag

The drag object to use for seeding the drag data.

related: null | Element

The related target for the event, or null.

type: "lm-dragenter" | "lm-dragexit" | "lm-dragleave" | "lm-dragover" | "lm-drop"

The drag event type.