Like the draggable component, droppable has only the common API methods shared by all library components. This is another component that is primarily option-driven. The methods available to us are the same ones exposed by draggable:
They function, and are used in exactly the same way as the methods exposed by draggables. We can temporarily disable the droppable using the
disable method, re-enable the droppable with
enable, and permanently remove (at least for the duration of the session) functionality with
option method is again used to get or set any option after initialization.