Problem: I create an area Drag and Drop with list Partial Accept.
Could you explain How to get value on area Drag and Drop and Javascript
I created a Drag and Drop area that can accommodate a single element (object A or object B) whose value I would like to retrieve.
I tried with the aria-label but cannot get it back.
You can use Drag Source condition in On Accept, On Reject event of a drop target to check which drag source is dropped:
You can also get list of drag sources dropped into a drop target using JavaScript:
var droppedObjects = prez.object('drop target name').dropHelper.droppedObjects();
for (var i = 0; i < droppedObjects.length; ++i) {
var dragSource = droppedObjects[i];
var dragSourceName = dragSource.name();
// do something...
}