Hareeshchandera / jsplumb

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

jsPlumb.hide("window5", true) should hide label too #210

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
mean label like the "drag" and "drop" that are present in this demo:
http://jsplumb.org/jquery/flowchartConnectorsDemo.html

they should probably be hidden too ?

Original issue reported on code.google.com by cedricro...@gmail.com on 28 Feb 2012 at 6:34

GoogleCodeExporter commented 8 years ago
i can see what you're getting at, but 'hide' only hides connections, and those 
labels you're talking about are on endpoints.  in this demo the 'toggle 
connections' link uses hide, for example:

http://jsplumb.org/jquery/draggableConnectorsDemo.html

..it doesn't hide the endpoints.

Original comment by simon.po...@gmail.com on 28 Feb 2012 at 7:08

GoogleCodeExporter commented 8 years ago
From documentation:http://jsplumb.org/doc/content.html#utilityFunctions
1. Hide all window5's connections
jsPlumb.hide("window5");

2. Hide all window5's connections endpoints
jsPlumb.hide("window5", true);

may be for the second point documentation should say
"Hide all window5's connections AND endpoints" 
that's actually what it does and seems fine to me but in this case, only labels 
remains visible

Original comment by cedricro...@gmail.com on 28 Feb 2012 at 7:24

GoogleCodeExporter commented 8 years ago
cool, i'll get this into 1.3.7.

Original comment by simon.po...@gmail.com on 28 Feb 2012 at 7:32

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 28 Feb 2012 at 7:34

GoogleCodeExporter commented 8 years ago
fixed in dev.

incidentally, connection overlays were not being hidden when you called 
setVisible(false) on a connection, either.

Original comment by simon.po...@gmail.com on 2 Mar 2012 at 6:04

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 2 Mar 2012 at 6:04

GoogleCodeExporter commented 8 years ago
1.3.7 was released today

Original comment by simon.po...@gmail.com on 4 Mar 2012 at 12:11