MCPcopy Create free account
hub / github.com/nodejs/node / show

Method show

deps/v8/tools/turbolizer/src/graphmultiview.ts:86–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 public show(): void {
87 // Insert before is used so that the display is inserted before the
88 // resizer for the RangeView.
89 this.container.insertBefore(this.divNode, this.container.firstChild);
90 this.initializeSelect();
91 const lastPhaseIndex = storageGetItem("lastSelectedPhase");
92 const initialPhaseIndex = this.sourceResolver.repairPhaseId(lastPhaseIndex);
93 this.selectMenu.selectedIndex = initialPhaseIndex;
94 this.displayPhase(this.sourceResolver.getDynamicPhase(initialPhaseIndex));
95 }
96
97 public displayPhaseByName(phaseName: string, selection?: SelectionStorage): void {
98 const phaseId = this.sourceResolver.getPhaseIdByName(phaseName);

Callers

nothing calls this directly

Calls 5

initializeSelectMethod · 0.95
displayPhaseMethod · 0.95
storageGetItemFunction · 0.90
repairPhaseIdMethod · 0.80
getDynamicPhaseMethod · 0.80

Tested by

no test coverage detected