views:

9

answers:

0

I would like to be able to add an option to my currently dragged element mid-drag. My initial options are:

curDomObj.draggable({
    axis: "x",
    drag: curDomObj.trigger("drag")
});

And then I'd like to be able to add another option that will automatically update that dragged object without "dropping" it. Specifically, I'd like to add the cursorAt attribute so that the dragged object would be in a different position relative to the cursor. Is it possible?

curDomObj.draggable({
    //add some other option here
});