Optional
addDefaults to true, meaning that when element dragging is occurring a class is added to the document body and also to the surface container.
Optional
autoDefaults to true, meaning the canvas will pan automatically to track elements that have been dragged out of the visible area.
Optional
autoWhen auto-panning, this is the number of pixels that the canvas repositions itself on each tick. Defaults to 5.
Optional
autoWhen auto-panning, this is the speed (in milliseconds) at which the canvas repositions itself. Defaults to 15ms.
Optional
constrainOptional function to use to constrain element dragging.
Optional
filterOptional CSS3 selector identifying parts of nodes/groups that should not cause a drag to start.
Options for element drag in a Surface.