OptionalallowWhen in tap mode, allow addition of new vertices simply by clicking, instead of requiring a shape be drawn. (When this is true, the drawing method also still works)
OptionalallowDefaults to true. Allows items to be dropped onto groups in the canvas.
OptionalallowWhether or not to allow drop on a node. Defaults to false.
OptionaldragOptional dimensions to use for elements being dragged.
OptionalignoreIf true, the manager will ignore any element constrain function that may be set on the surface
OptionalignoreBy default, the DropManager will apply a scale transform to elements that are being dragged so that they appear
at the same size as the Surface they're being dragged to. Setting this flag to true will switch off that behaviour.
OptionallassoWhen in 'tap' mode, you can optionally provide a class to set on the lasso used by the vertex drawing plugin.
OptionalmodeMode to operate in - 'drag' or 'tap'. Defaults to 'drag'.
OptionalselectorA selector that identifies the draggable elements inside source.
The element that contains draggable elements.
The Surface to attach to. Required.
OptionalvertexWhen in tap mode, this function can be used to provide the element shown to the user as a new vertex is being drawn.
OptionalvertexWhen in tap mode this function is repeatedly called as the mouse is dragging a new shape. It provides a hook for you to update the element's appearance.
Options for the DropManager.