import { type DataTransferItem } from "https://deno.land/x/windmill@v1.320.3/node_modules/evt/lib/types/lib.dom.d.ts";
One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object.
Methods
getAsString(callback: FunctionStringCallback | null): void
Invokes the callback with the string data as the argument, if the drag data item kind is text.