--- title: Use icon toggle buttons js: examples/icon_buttons.js ---

« Example 9 Example 11 »

Example 10 - use icon toggle buttons

You can use the openedIcon and closedIcon options to use html for the toggle buttons. You can for example use Fontawesome icons.

javascript

{% highlight js %} $('#tree1').tree({ closedIcon: $(''), openedIcon: $('') }); {% endhighlight %}