summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jqTree/_examples/12_button_on_right.html
blob: 9e1bbc849797fafa25b433b476b870b287526e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
title: Button on right
layout: page
js: examples/button-on-right.js
css: example.css
---

<p id="nav">
    <a href="../11_right-to-left/">&laquo; Example 11</a>
</p>

<h1>Example 12 - button on right</h1>

<p>
    You can put the toggle button on the right by setting the <strong>buttonLeft</strong> option to <strong>false</strong>.
</p>

<div id="tree1" class="block-style" data-url="/example_data/"></div>

<h3>javascript</h3>

{% highlight js %}
$('#tree1').tree({
    buttonLeft: false,
    autoOpen: 0
});
{% endhighlight %}