1

How can get the position of the connection target when I stop dragging. I tried this, but I think the element is already removed by then:

jsPlumb.bind("connectionDragStop", function(info){
    console.log(info.target.position())
})
Boedy
  • 6,647
  • 1
  • 21
  • 24

1 Answers1

2

No. I guess the problem is wrong syntax. As per I have learnt these days it should be like

jsPlumb.bind("connectionDragStop", function(info){ console.log(info.targetId.position()) ; })

because here info will be your connection object. And it have property as targetId. All the best :-)

webcoder
  • 311
  • 1
  • 8