https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/getAsString
DataTransferItem: getAsString() method - Web APIs | MDN
The DataTransferItem.getAsString() method invokes the given callback with the drag data item's string data as the argument if the item's kind is a Plain...
web apismethodmdn