editor.dragDropSource(string dragDropId, string data, function callback)
- dragDropId - The drag and drop id. An arbitrary id that is created by the user. Drag and drop targets only accept payloads from drag and drop sources with the same dragDropId.
- data - Payload of the drag and drop action. The actual data that gets transferred from a drag and drop source to a drag and drop target.
- callback - Callback function. Function that gets invoked when a payload has been successfully dropped on a drag and drop target.
editor.dragDropTarget(string dragDropId)
- dragDropId The drag and drop id. An arbitrary id that is created by the user.
Drag and drop targets only accept payloads from drag and drop sources with the same dragDropId.