From 75ad7e4bd7d69243e7e5281c2642f00478fb072d Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 19 Feb 2014 18:02:09 +0200 Subject: Added tags, jquery UI --- .../static/js/ui/demos/droppable/propagation.html | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 apps/it/static/js/ui/demos/droppable/propagation.html (limited to 'apps/it/static/js/ui/demos/droppable/propagation.html') diff --git a/apps/it/static/js/ui/demos/droppable/propagation.html b/apps/it/static/js/ui/demos/droppable/propagation.html new file mode 100644 index 0000000..247ac1c --- /dev/null +++ b/apps/it/static/js/ui/demos/droppable/propagation.html @@ -0,0 +1,73 @@ + + + + + jQuery UI Droppable - Prevent propagation + + + + + + + + + + + + + +
+

Drag me to my target

+
+ +
+

Outer droppable

+
+

Inner droppable (not greedy)

+
+
+ +
+

Outer droppable

+
+

Inner droppable (greedy)

+
+
+ +
+

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).

+
+ + -- cgit v1.2.3