[{"id":"2"
,"text":"skill","li_attr":{"rel":"demo"},"children":false
},{...}]
but the icon of nodes does not display, it just display the default icon.
Note: yes, I can use the icon parameter in json to pass the url of icon to front end, and it works.
But i want to know how can i display icons based on the types by using the types plugin
[{"id":"2","text":"skill","type":"demo","children":false},{...}]
,"text":"skill","icon":"icon icon-ok-sign","li_attr":{"rel":"demo"},"children":false
},{...}]
Hope it will help.