I currently have a SymbolPalette with 3 node items.
When a user drags an item onto the diagram, I use args.cancel = true to cancel the node creation and then kick off another JS function. I would like to capture some identifier (name preferably) of the dragged item to pass to the 2nd JS function. Is there a way I can collect an identified for what the user is dragging prior to disposing of it?
function drop(args) {
// need a way to find a dragged item's identifier (name, id, something)
var identifier = args.Node.Name
// Cancel Node Placement
args.cancel = true;
//call new fuction
dosomethingelse(identifier);
}