DragInfo (8.5)
Describes the data to be transferred during a drag operation. Returned from the start handler of a Drag.
class DragInfo
Constructor
constructor(
data: [String: String],
supported_actions: [DropAction] = [DropAction.copy],
)
data: [String: String]A map of MIME types to data strings that will be transferred during the drag operation.
It is possible to set multiple data entries for different types in order to support multiple formats, which the target can select from.
See this article for more information on MIME types.
supported_actions: [DropAction] = [DropAction.copy]A list of actions that the drag operation supports, e.g.
DropAction.copy,DropAction.move, orDropAction.link.The default value is
[DropAction.copy], meaning that the target can copy the data.See DropAction.