Skip to main content

Home > @jsplumb/browser-ui > DragHandlerOptions

DragHandlerOptions interface#

Signature:

export interface DragHandlerOptions 

Properties#

PropertyTypeDescription
beforeStart?(beforeStartParams: BeforeStartEventParams) => void(Optional)
constrainFunction?ConstrainFunction | boolean(Optional)
containment?ContainmentType(Optional)
containmentPadding?number(Optional)
drag?(p: DragEventParams) => any(Optional)
dragAbort?(el: Element) => any(Optional)
dragInit?(el: Element) => any(Optional)
filter?string(Optional)
filterExclude?boolean(Optional)
ghostProxy?GhostProxyGenerator | boolean(Optional)
ghostProxyParent?Element(Optional)
grid?Grid(Optional)
makeGhostProxy?GhostProxyGenerator(Optional)
revertFunction?RevertFunction(Optional)
selector?string(Optional)
snapThreshold?number(Optional)
start?(p: DragStartEventParams) => any(Optional)
stop?(p: DragStopEventParams) => any(Optional)
useGhostProxy?(container: any, dragEl: jsPlumbDOMElement) => boolean(Optional)