2 title: Use icon toggle buttons
4 js: examples/icon_buttons.js
9 <a href="../09_custom_html/">« Example 9</a>
10 <a href="../11_right-to-left/" class="next">Example 11 »</a>
13 <h1>Example 10 - use icon toggle buttons</h1>
16 You can use the <strong>openedIcon</strong> and <strong>closedIcon</strong> options to use html for
17 the toggle buttons. You can for example use <a href="http://fortawesome.github.io/Font-Awesome/">Fontawesome icons</a>.
19 <div id="tree1" data-url="/example_data/"></div>
25 closedIcon: $('<i class="fa fa-arrow-circle-right"></i>'),
26 openedIcon: $('<i class="fa fa-arrow-circle-down"></i>')