getAsString method

void getAsString(
  1. FunctionStringCallback? callback
)

The DataTransferItem.getAsString() method invokes the given callback with the drag data item's string data as the argument if the item's DataTransferItem.kind is a Plain unicode string (i.e. kind is string).

Implementation

external void getAsString(FunctionStringCallback? callback);