Hareeshchandera / jsplumb

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

add setLabel/getLabel methods to Label overlay #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
...and don't reset the label's innerHTML every time we paint the label if the 
label's text is a string (not a function).  there was a request from a 
developer for this.

Original issue reported on code.google.com by simon.po...@gmail.com on 2 Nov 2011 at 10:23

GoogleCodeExporter commented 8 years ago
fixed in development: getLabel/setLabel were added (they support both strings 
and functions), and the code was optimised to not continually write the DOM 
element's innerHTML if the label is a string)

Original comment by simon.po...@gmail.com on 3 Nov 2011 at 12:21