Predominantly a bugfix release, with a few new options for controlling connection detachment (and one small
backward compatibility issue to be aware of).
This release also sees the introduction of the name Community Edition, to distinguish open source jsPlumb from
the just-released, commercially licensed, Toolkit Edition, which is a wrapper project that uses open source
jsPlumb as its view layer.
The Community Edition will continue to be open source with an MIT (or GPL2 if that's what you need) license, and it will
continue to be actively developed.
beforeDetach
for both new Connection drags and alsobeforeStartDetach
revalidate
now supports the same arguments as repaint
- an ID, an Element, or a list-like
object (such as the results of $(..)
or document.querySelectorAll
)
added beforeStartDetach
interceptor: a function that is called before an existing connection is dragged
off of one of its endpoints, and which can return false to cancel the drag.
The unbind
method on various objects (jsPlumbInstance, Connection, Endpoint to name a few) now supports
passing a Function to be unbound, rather than just some event name.
Connectors now have a getLength
function, which returns their length in pixels. To access from a Connection, you
need to first get the connector: someConnection.getConnector().getLength()
The full changelog can be viewed here.