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

Method findNodeByDomElement

web/pgadmin/static/js/tree/tree.js:413–420  ·  view source on GitHub ↗
(domElement)

Source from the content-addressed store, hash-verified

411 }
412
413 findNodeByDomElement(domElement) {
414 const path = domElement?.path;
415 if (!path?.[0]) {
416 return undefined;
417 }
418
419 return this.findNode(path);
420 }
421
422 addNewNode(id, data, item, parentPath) {
423 let parent;

Callers 15

showRoleReassignFunction · 0.45
childCreateMenuEnabledFunction · 0.45
retrieveTreeNodeFunction · 0.45
column.jsFile · 0.45
openPsqlToolMethod · 0.45
restore.jsFile · 0.45
maintenance.jsFile · 0.45
backup.jsFile · 0.45
retrieveServerIdentifierFunction · 0.45
setExtraParametersFunction · 0.45

Calls 1

findNodeMethod · 0.95

Tested by

no test coverage detected