Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jqTree / _examples / 12_button_on_right.html
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/_examples/12_button_on_right.html b/ecomp-portal-FE/client/bower_components/jqTree/_examples/12_button_on_right.html
new file mode 100644 (file)
index 0000000..9e1bbc8
--- /dev/null
@@ -0,0 +1,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 %}