I often have occasion to drag say, an Icon, and have the resulting drop appear in the target as some other (say larger) object, or vice-versa, drag a larger object with the drop resulting in a smaller Icon representation of the dragged object.
So far I can't see any event hook that allows this - only way I can see to do it is to grab object references onDrop and then trigger another custom event that replaces the dropped element, which feels hind of hackish.
I often have occasion to drag say, an Icon, and have the resulting drop appear in the target as some other (say larger) object, or vice-versa, drag a larger object with the drop resulting in a smaller Icon representation of the dragged object.
So far I can't see any event hook that allows this - only way I can see to do it is to grab object references onDrop and then trigger another custom event that replaces the dropped element, which feels hind of hackish.
Is there a better way to do this?