DataTransfer
The DataTransfer object is used to hold any data transferred between contexts, such as a drag and drop operation, or clipboard read/write.
Properties
Link copied to clipboard
The DataTransfer.dropEffect property controls the feedback (typically visual) the user is given during a drag and drop operation.
Link copied to clipboard
The DataTransfer.effectAllowed property specifies the effect that is allowed for a drag operation.
Link copied to clipboard
The read-only items property of the DataTransfer interface is a DataTransferItemList of the DataTransferItem in a drag operation.
Link copied to clipboard
The DataTransfer.types read-only property returns the available types that exist in the DataTransfer.items.