clear method
void
clear()
The DataTransferItemList method
clear()
removes all DataTransferItem
objects from the drag data items list, leaving the list empty.
The drag data store in which this list is kept is only writable while
handling the
HTMLElement.dragstart_event
event. While handling
HTMLElement.drop_event
, the drag data store is
in read-only mode, and this method silently does nothing. No exception is
thrown.
Implementation
external void clear();