summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jqTree/_examples/11_right-to-left.html
blob: f70d6117d8c5a948203eb19b47a43a1303e017a8 (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: Right-to-left support
layout: page
js: examples/right-to-left.js
css: example.css
---

<p id="nav">
    <a href="../10_icon_buttons/">&laquo; Example 10</a>
    <a href="../12_button_on_right/" class="next">Example 12 &raquo;</a>
</p>

<h1>Example 11 - right-to-left support</h1>

<p>
    You can display the tree from right to left with the <strong>rtl</strong> option.
</p>

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

<h3>javascript</h3>

{% highlight js %}
$('#tree1').tree({
    rtl: true
});
{% endhighlight %}