javascript - Retrieve label HTML from node -


i have node of spacetree graph (from jit library) , i'd modify html of label in click listener. trivial if had reference label object passed parameter onplacelabel() , oncreatelabel() functions, cannot find way reference. there easy way of obtaining reference node object?

i figured out. can the label of node using

st.labels.getlabel(node.id) 

assuming st spacetree object , node node label.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -