O'Reilly logo

jQuery UI 1.10: The User Interface Library for jQuery by Dan Wellman, Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding the droppable callback options

The options that we've looked at so far configure various operational features of the droppable. In addition to these, there are almost as many callback options so that we can define functions that react to different things occurring to the droppable and its accepted drag objects. These options are listed in the following table:

Callback option

Invoked when…

activate

An accepted drag object begins dragging.

deactivate

An accepted drag object stops being dragged.

drop

An accepted drag object is dropped onto a droppable.

out

An accepted drag object is moved out of the bounds (including the tolerance) of the droppable.

over

An accepted drag object is moved within the bounds (including ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required