MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / next

Method next

web/pgadmin/static/js/tree/tree.js:130–141  ·  view source on GitHub ↗
(item)

Source from the content-addressed store, hash-verified

128 }
129
130 next(item) {
131 if (item) {
132 let parent = this.parent(item);
133 if (parent && parent.children.length > 0) {
134 let idx = parent.children.indexOf(item);
135 if (idx !== -1 && parent.children.length !== idx + 1) {
136 return parent.children[idx + 1];
137 }
138 }
139 }
140 return null;
141 }
142
143 prev(item) {
144 if (item) {

Callers 3

partition.jsFile · 0.80
browser.jsFile · 0.80
AddNewServerFunction · 0.80

Calls 1

parentMethod · 0.95

Tested by

no test coverage detected