clear

open external fun clear()(source)

The clear() method of the DataTransferItemList interface removes all DataTransferItem objects from the drag data items list, leaving the list empty.

MDN Reference