Configuring droppables
The droppable
class is considerably smaller than the draggable
class, and there are fewer configurable options for us to play with. The following table lists those options available to us:
Option |
Default |
Used to… |
---|---|---|
|
|
Set the draggable element(s) that the droppable will accept. |
|
|
Set the class that is applied to the droppable, while an accepted drag object is being dragged. |
|
|
Add the |
|
|
Disable the droppable. |
|
|
Stop drop events from bubbling when a drag object is dropped onto nested droppables. |
|
|
Set the class that is applied to the droppable, while an accepted drag object is within the boundary of the droppable. |
|
|
Define sets of drag objects and drop targets. |
|
|
Set the mode that triggers an accepted drag object being considered over a droppable. |