AbimannanMuthusamy / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

"target : Object" object doesn't work #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using very light JS set:
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery.jsPlumb-1.0.1.js"></script>

$( some ).plumb( {
       target: $( this ),
} )

gaves no error, but works vbery strange - seems connectors connects target 
with itself.

Also looks like repaint on resize doesn't works

Original issue reported on code.google.com by aazaharo...@gmail.com on 15 Apr 2010 at 1:27

GoogleCodeExporter commented 9 years ago
Script need serious adjusting for containers without IDs

Original comment by aazaharo...@gmail.com on 15 Apr 2010 at 1:59

GoogleCodeExporter commented 9 years ago
you are correct - jsPlumb currently requires elements to have an id set.  if 
there
was sufficient interest in changing this we could look into it but it is not a
priority right now.

Original comment by simon.po...@gmail.com on 21 Apr 2010 at 3:22

GoogleCodeExporter commented 9 years ago
this is now fixed.  you can pass in a selector for an element if you want to.  
an id is automatically set if one is not present on the element.

Original comment by simon.po...@gmail.com on 26 Jul 2010 at 11:55

GoogleCodeExporter commented 9 years ago

Original comment by simon.po...@gmail.com on 9 Oct 2010 at 11:44