Anatomy of a Drag and Drop in JavaScript

A drag and drop essentially consists of a few events (and by events, I mean, moments in time, not DOM events). There’s the moment a drag is started, there’s the continuous dragging of an item, and finally there’s the moment the item is no longer being dragged (ie: the drop). The items being dragged are sometimes referred to as draggables.

read more | digg story

Advertisements

%d bloggers like this: