Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6972

Drop coordinates for mouseDrop

$
0
0

@ernestjessee wrote:

I am trying to handle a mouseDrop on a diagram. need to know if the drop is to the left of the drop target center or to the right. I have what I believe is the drop target center... and please tell me if I am wrong.. via graphObject.part.location where graphObject is the 2nd argument to the mouseDrop handler. Now, how do I get the precise location of the drop?
I have tried inputEvent.getCurrentPosition(), but I get ...is not a function.

thanks for your help.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6972

Trending Articles