Any suggestions on how to configure this - which states should be included (loading, loaded, opened, closed, selected)? I agree it could be useful but I cannot think of a good way to configure this and a sure way to work around conflicts (using set_icon while the node has a closed state icon for example).
--
You received this message because you are subscribed to a topic in the Google Groups "jsTree" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jstree/yV8VM1GMYNU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jstree+un...@googlegroups.com.
To post to this group, send email to jst...@googlegroups.com.
Visit this group at http://groups.google.com/group/jstree.
For more options, visit https://groups.google.com/d/optout.
What about just simplifying the workaround and allow for a function to be used for icon? It would be passed the node as an arg after a change in the state object.
And, perhaps allow for icon = {open: 'abc', closed: 'def'} as a simplified alternative. It's probably the most common case.
On Thursday, March 6, 2014, Ivan Bozhanov <ivan.b...@gmail.com> wrote:
Any suggestions on how to configure this - which states should be included (loading, loaded, opened, closed, selected)? I agree it could be useful but I cannot think of a good way to configure this and a sure way to work around conflicts (using set_icon while the node has a closed state icon for example).--
You received this message because you are subscribed to a topic in the Google Groups "jsTree" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jstree/yV8VM1GMYNU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jstree+unsubscribe@googlegroups.com.