javascript - jsPlumb - BeforeDetach event is not firing in 1.6.2 -
javascript - jsPlumb - BeforeDetach event is not firing in 1.6.2 -
i attempting dispose of jsplumb connections detaching them , dragging them bin object. if connection dragged , dropped in middle of nowhere, detach fail , connection homecoming initial position.
jsplumb.bind("beforedetach", function (e) { //if not dropped in bin homecoming false; }); i attempted using beforedetach event. however, doesn't seem fire when expect. work correctly when using jsplumb 1.3 however.
jsplumb 1.3: http://jsfiddle.net/quldz/
jsplumb 1.6: http://jsfiddle.net/pdpcx/
however, api docs still mention event :
beforedetach(connection) event fired when connection detached, whatever reason. callback function passed connection user has detached. returning false interceptor aborts connection detach. what can , running?
i've asked same question on jsplumb google grouping - , looks bug.
https://groups.google.com/forum/?fromgroups=#!topic/jsplumb/udh9u-6behy
issue raised: https://github.com/sporritt/jsplumb/issues/223
javascript jquery jsplumb
Comments
Post a Comment