concept drop in category javascript

appears as: drop, drop
Prototype and Scriptaculous in Action

This is an excerpt from Manning's book Prototype and Scriptaculous in Action.

We’ve let the user know when a drop operation is pending by providing a hoverclass option that applies visual cues to the target area when a drop is possible. But how are we (our code) to know when such a state is entered? The onHover option allows us to specify a callback function that is called whenever a recognized draggable item is over the target area. This callback will be invoked repeatedly as the draggable element is moved over the drop zone. If a draggable element is rejected by a drop target, due to a setting of one of the constraint options (accept or containment), this callback is not invoked for that draggable element.