Wiki source code of Project WONDER-Frameworks-Ajax-AjaxDroppable
Last modified by Pascal Robert on 2010/09/12 03:19
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
4.1 | 1 | === AjaxDroppable === |
![]() |
1.1 | 2 | |
![]() |
4.1 | 3 | AjaxDroppable represents the second half of the drag-and-drop implementation in Ajax framework. AjaxDroppable also uses a WOComponentContent, so any content that you would like to appear in the drop target should be inside of the AjaxDroppable's webobject tags. |
![]() |
1.1 | 4 | |
![]() |
4.1 | 5 | An example of the Scriptaculous drag-and-drop is available [[here>>url:http://demo.script.aculo.us/shop||shape="rect"]]. |
![]() |
1.1 | 6 | |
![]() |
4.1 | 7 | ==== Wonder Bindings ==== |
![]() |
1.1 | 8 | |
9 | * id (required) - the ID of the Droppable element | ||
10 | * elementName - the name of the HTML element to wrap the Droppable, either: "div" or "span" | ||
11 | * droppedDraggableID - the draggableID of the Draggable that was dropped on this Droppable | ||
12 | * action - the action that is fired when the drop occurs | ||
13 | * droppedObject - the object that was dropped (if droppableObject was bound on the AjaxDraggable) | ||
14 | |||
![]() |
4.1 | 15 | ==== Scriptaculous Bindings ==== |
![]() |
1.1 | 16 | |
![]() |
4.1 | 17 | [[Scriptaculous Documentation>>url:http://wiki.script.aculo.us/scriptaculous/show/Droppables||shape="rect"]] |
![]() |
1.1 | 18 | |
19 | * accept | ||
20 | * containment | ||
21 | * hoverclass | ||
22 | * overlap | ||
23 | * greedy | ||
24 | * onHover | ||
25 | * onDrop |