Dragend
Dragend is an event in the HTML5 Drag and Drop API. It is fired on the drag source when a drag operation concludes, after the user releases the mouse button or otherwise ends the drag, regardless of whether the item was dropped on a valid drop target. The dragend event signals the end of the drag interaction and allows the origin to reset its visual state and internal data.
The event object is a DragEvent that extends MouseEvent. It provides a dataTransfer property containing the
Common use patterns for dragend include cleaning up drag visuals (such as removing drag ghost styling or
Browser support for the HTML5 Drag and Drop API, including dragend, is broadly available in modern engines