Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Mouse Coordinates on Drop
posted

I've been working with the new drag and drop framework for a little while now.  Currently I have a need for the mouse coordinates whenever the item is dropped.  Normally I would just throw a onmouseup event and grab the coordinates that way.  However, for some reason that event never fires when I have a drag and drop item attached to the mouse.  

Also I tried using evntArgs.get_x() and evntArgs.get_y() from inside the DropHandler method.  This threw the Object doesn't support this property or method error.

function dropHandler(source, evntArgs)

{   

            var tmpx = evntArgs.get_x();

            var tmpy = evntArgs.get_y();

}

 

Any help here would be much appreciated.  Thank you for your time.

Parents
No Data
Reply Children
No Data