interface DragDropConfiguration {
    dragSelector: string;
    dropSelector: string;
    permissions: Record<string, Function>;
    callbacks: Record<string, Function>;
}

Properties

dragSelector: string

The CSS selector used to target draggable elements.

dropSelector: string

The CSS selector used to target viable drop targets.

permissions: Record<string, Function>

An object of permission test functions for each action

callbacks: Record<string, Function>

An object of callback functions for each action