Closed GoogleCodeExporter closed 8 years ago
this has now been done.
you can set a container on jsplumb's defaults, for example:
jsPlumb.Defaults.Container = $("body");
or
jsPlumb.Defaults.Container = "someElementId";
..and you can also supply a 'container' to addEndpoint and connect:
jsPlumb.addEndpoint(someDiv, { container:$("body") });
jsPlumb.connect({source:someDiv, target:someOtherDiv,
container:"anotherDivId"});
this is in the 1.3.2 dev scripts now and will be released in 1.3.2, within a
week or so.
Original comment by simon.po...@gmail.com
on 5 Aug 2011 at 7:42
What will be the default behavior? As per jsPlumb < 1.3.0 (attach to the body),
or as per jsPlumb 1.3.0 (attach to the parent of the element).
I like the current behavior, but am not opposed to reinstatement of the
container property, as long as no incompatibilities are introduced (if
possible).
Original comment by eel...@xs4all.nl
on 6 Aug 2011 at 8:25
default is as per 1.3.0 - attach to the parent of the element.
Original comment by simon.po...@gmail.com
on 6 Aug 2011 at 8:41
Original comment by simon.po...@gmail.com
on 11 Aug 2011 at 3:42
Original issue reported on code.google.com by
simon.po...@gmail.com
on 28 Jul 2011 at 6:54