diff --git a/demos/droppable/accepted-elements.html b/demos/droppable/accepted-elements.html new file mode 100644 index 000000000..c8e809281 --- /dev/null +++ b/demos/droppable/accepted-elements.html @@ -0,0 +1,55 @@ + + +
+Specify using the accept option which element (or group of elements) is accepted by the target droppable.
+ +When working with nested droppables — for example, you may have an editable directory structure displayed as a tree, with folder and document nodes — the greedy option set to true prevents event propagation when a draggable is dropped on a child node (droppable).
+ +Change the droppable's appearance on hover, or when the droppable is active (an acceptable draggable is dropped on it). Use the hoverClass or activeClass options to specify respective classes.
+ +