JavaScript Drag Events

You are Here:

JavaScript Drag Events

The following are the list of Drag events available in JavaScript programming.

FunctionsExplanation
ondragOccurs when a draggable element is being dragged.
ondragendOccurs when the user has finished dragging a draggable element.
ondragenterOccurs when a draggable element enters a valid drop target.
ondragleaveOccurs when a draggable element leaves a valid drop target.
ondragoverOccurs when a draggable element is being dragged over a valid drop target.
ondragstartOccurs when the user starts to drag a draggable element.
ondropOccurs when a draggable element is dropped on a valid drop target.

Reminder

Hi Developers, we almost covered 97% of JavaScript Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in JavaScript.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author