summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html
diff options
context:
space:
mode:
authorst782s <statta@research.att.com>2017-05-04 07:48:42 -0400
committerst782s <statta@research.att.com>2017-05-04 12:28:17 -0400
commitb54df0ddd0c6a0372327c5aa3668e5a6458fcd64 (patch)
treee69cfa9b314a801bd187cf0145d1d4306436229c /ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html
parent39d1e62c84041831bfc52cca73b5ed5efaf57d27 (diff)
[PORTAL-7] Rebase
This rebasing includes common libraries and common overlays projects abstraction of components Change-Id: I9a24a338665c7cd058978e8636bc412d9e2fdce8 Signed-off-by: st782s <statta@research.att.com>
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html')
-rw-r--r--ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html70
1 files changed, 0 insertions, 70 deletions
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html b/ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html
deleted file mode 100644
index 135036fa..00000000
--- a/ecomp-portal-FE/client/bower_components/jqTree/_examples/05_load_on_demand.html
+++ /dev/null
@@ -1,70 +0,0 @@
----
-title: Load nodes on demand from the server in javascript tree
-layout: page
-js: examples/load_on_demand.js
-css: example.css
----
-
-<p id="nav">
- <a href="../04_save_state/">&laquo; Example 4</a>
- <a href="../06_autoescape/" class="next">Example 6 &raquo;</a>
-</p>
-
-<h1>Example 5 - Load nodes on demand from the server</h1>
-
-
-<div id="tree1" data-url="/nodes/"></div>
-
-<p>
- In this example, the data is loaded on demand from the server.
- <br>
- To use load on demand, you must do the following:
-</p>
-
-<ul>
- <li>
- You must specify a <strong>data url</strong>. In this example this is done using the <strong>data-url</strong>
- html data attribute.
- </li>
- <li>
- Folders that must be loaded on demand must have the <strong>load_on_demand</strong> property. You can specify this in the data.
- </li>
- <li>
- In this example, the url <strong>/nodes/</strong> returns the first level of data (Saurischia and Ornithischians).
- </li>
- <li>
- The url for the load on demand data is <strong>&lt;data-url&gt;?node=&lt;node-id&gt;</strong>. So, for node 23 this would be
- <strong>/nodes/?node=23</strong>.
- </li>
-</ul>
-
-<h3>first level of data</h3>
-
-{% highlight js %}
-[
- {
- "label": "Saurischia",
- "id": 1,
- "load_on_demand": true
- },
- {
- "label": "Ornithischians",
- "id": 23,
- "load_on_demand": true
- }
-]
-{% endhighlight %}
-
-<h3>html</h3>
-
-{% highlight html %}
-<div id="tree1" data-url="/nodes/"></div>
-{% endhighlight %}
-
-<h3>javascript</h3>
-
-{% highlight js %}
-$('#tree1').tree({
- dragAndDrop: true
-});
-{% endhighlight %}