diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/jqTree/_entries/56_scrolltonode.md')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/jqTree/_entries/56_scrolltonode.md | 13 |
1 files changed, 13 insertions, 0 deletions
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 index 00000000..e9ac2dcc --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/jqTree/_entries/56_scrolltonode.md @@ -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 %} |