Yahoo! UI Library - Drag and Drop

### Drag and Drop - YAHOO.util.DD

####

### Examples

- Drag test
- Always on top
- Proxy drag
- Sortable list
- Multiple handles
- Targetable affordance
- Grid
- Resize pane
- Custom click validator

### Custom Click Validator Implementation and onInvalidDrop

In this example, we override clickValidator to provide custom logic for determining if the initial mousedown should initiate a drag. A drag is initiated only if the mousedown happens inside of the circle.
In addition, the circle snaps back to its inital position if not dropped on a target. This is done by overriding the onInvalidDrop method.

The logger is paused for performance reasons. Click "Resume" to re-enable it.
DD
DDTarget