dragAndDrop(source: { selector: "#item-to-drag" }, target: { selector: "#drop-zone" })
Returns true if the drag-and-drop was successful.
Definition
Arguments
source
ElementOptions!
Selector options for the source element to drag.
target
ElementOptions!
Selector options for the target element to drop onto.
options
DragAndDropOptions
Options for the drag-and-drop operation, like force or specific positions.
Returns
Boolean! TheBoolean
scalar type represents true
or false
.