summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE/client/bower_components/jqTree/_entries/82_getpreviousnode.md
blob: 3560ff9bda55e15e301a4fb372ac9cd7f518f0e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
title: getPreviousNode
name: node-functions-getpreviousnode
---

Get the previous node in the tree. Does the same as using the *up* key.

Returns a node or null.

{% highlight js %}
var node = node.getPreviousNode();
{% endhighlight %}