clearData

open external fun clearData(format: String = definedExternally)(source)

The clearData() method of the DataTransfer interface removes the drag operation's drag data for the given type. If data for the given type does not exist, this method does nothing.

MDN Reference