This property returns the kind of operation that we can do as we drag and drop.
The value of this property can be:
- appUtils.TRANSFER_OPERATION_NONE
- appUtils.TRANSFER_OPERATION_MOVE
- appUtils.TRANSFER_OPERATION_COPY
- appUtils.TRANSFER_OPERATION_LINK
- appUtils.TRANSFER_OPERATION_BLOCK
// when an item is dragged over this box, we set the drag operation
<box on:dragOver="onDragOver();"/>
function onDragOver()
{
var eventObj = shell.currentEvent;
if (eventObj)
{
eventObj.operation = appUtils.TRANSFER_OPERATION_COPY;
}
}