Archive for the tag 'drag-and-drop'

A Simple HTML5 Drag-​​and-​​Drop Example

In this ar­ticle, we’ll learn how to im­ple­ment a very simple ex­ample of an HTML5 drag-​​and-​​drop in ac­tion. We’ll de­fine a drag­gable image that can be dropped into a circle. You’ll see this ex­ample and say “That’s so easy!”. But don’t rush to any con­clu­sions. In more com­plex use cases, it’s not such a piece of cake any­more and can be­come a real pain in the neck! Read more »