MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / togglePanel

Method togglePanel

static/panes/executor.ts:955–962  ·  view source on GitHub ↗
(button: JQuery<HTMLElement>, panel: JQuery<HTMLElement>)

Source from the content-addressed store, hash-verified

953 }
954
955 togglePanel(button: JQuery<HTMLElement>, panel: JQuery<HTMLElement>): void {
956 if (panel.hasClass('d-none')) {
957 this.showPanel(button, panel);
958 } else {
959 this.hidePanel(button, panel);
960 }
961 this.updateState();
962 }
963
964 initCallbacks(): void {
965 this.initListeners();

Callers 1

initCallbacksMethod · 0.95

Calls 3

showPanelMethod · 0.95
hidePanelMethod · 0.95
updateStateMethod · 0.95

Tested by

no test coverage detected