Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jqTree / _entries / 56_scrolltonode.md
diff --git a/ecomp-portal-FE/client/bower_components/jqTree/_entries/56_scrolltonode.md b/ecomp-portal-FE/client/bower_components/jqTree/_entries/56_scrolltonode.md
new file mode 100644 (file)
index 0000000..e9ac2dc
--- /dev/null
@@ -0,0 +1,13 @@
+---
+title: scrollToNode
+name: functions-scrolltonode
+---
+
+**function scrollToNode(node);**
+
+Scroll to this node. This is useful if the tree is in a container div and is scrollable.
+
+{% highlight js %}
+var node = $tree.tree('getNodeById', 1);
+$tree.tree('scrollToNode', node);
+{% endhighlight %}