MCPcopy Index your code
hub / github.com/nodejs/node / collapseRow

Method collapseRow

deps/v8/tools/profview/profview.js:673–684  ·  view source on GitHub ↗
(tree, expandHandler)

Source from the content-addressed store, hash-verified

671 }
672
673 collapseRow(tree, expandHandler) {
674 let row = tree.row;
675 let id = row.id;
676 let index = row.rowIndex;
677 while (row.rowIndex < this.rows.rows.length &&
678 this.rows.rows[index].id.startsWith(id)) {
679 this.rows.deleteRow(index);
680 }
681
682 tree.arrow.textContent = COLLAPSED_ARROW;
683 row.onclick = expandHandler;
684 }
685
686 fillSelects(mode, calltree) {
687 function addOptions(e, values, current) {

Callers 1

expandTreeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected