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

$('#tree1').tree({
    closedIcon: $('<i class="fa fa-arrow-circle-right"></i>'),
    openedIcon: $('<i class="fa fa-arrow-circle-down"></i>')
});