DEV Community

Karthikeyan
Karthikeyan

Posted on

1

Browser shorts - HTML Drag and Drop API

This is a submission for DEV Challenge v24.03.20, One Byte Explainer: Browser API or Feature.

Explainer

HTML drag and drop API helps us to create draggable elements in webpage with events like dragstart, drag, dragenter, dragleave, dragover and drop. Elements in the pages can be made draggable using draggable attribute. We can set the drop targets for receiving items and custom drag images can be set.

Additional Context

  1. Drag and Drop API - MDN docs

Top comments (0)

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay