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)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More