Skip to main content

Home > @jsplumbtoolkit/drop > DropManager

DropManager class#

Signature:

export declare class DropManager<T> 

Constructors#

ConstructorModifiersDescription
(constructor)(params)Constructs a new instance of the DropManager class

Properties#

PropertyModifiersTypeDescription
canvasDropFilterCanvasDropFilter<T>
canvasSelectorstring
dataGeneratorDataGeneratorFunction<T>
dragDrag
dragActiveClassstring
dragHoverClassstring
dragManagerCollicat
dropFilterDropFilter<T>
edgeDropFilterEdgeDropFilter<T>
elementsArray<Element>
gridGrid
ignoreGridboolean
onCanvasDropCanvasDropFunction<T>
onDragDragFunction<T>
onDropDropFunction<T>
onEdgeDropEdgeDropFunction<T>
scopestring
selectorstring
sourceElement
surfaceSurface
surfaceCanvasHTMLElement
surfaceCanvasPlaceholderHTMLElement

Methods#

MethodModifiersDescription
isEffectivelyOnCanvas(e)
setEnabled(e)sets whether or not dragging is currently enabled.
setSurface(surface)