简体   繁体   中英

jsPlumb not adding EndPoints correctly when the div is animated

jsPlumb seems to incorrectly place the EndPoints when the node div is animated. The endpoints are placed (initially) at [0,0] and not connected to the moving div.

When the div is dragged, then the end points get updated and attah to the divs correctly. The problem is demostrated in this fiddle.

http://jsfiddle.net/rishabhsagar/aT63t/27/

Please help!

it's because jsPlumb is not expecting the third argument to be a string; it's expecting an object.

try this fiddle instead:

http://jsfiddle.net/sporritt/QpLJU/10/

i just replaced "slow" with {duration:"slow"}.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM