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

Method registerButtons

static/panes/tool.ts:302–312  ·  view source on GitHub ↗
(state: ToolState & MonacoPaneState)

Source from the content-addressed store, hash-verified

300 }
301
302 override registerButtons(state: ToolState & MonacoPaneState) {
303 super.registerButtons(state);
304
305 this.wrapButton = this.domRoot.find('.wrap-lines');
306 this.wrapTitle = this.wrapButton.prop('title');
307
308 this.panelArgs = this.domRoot.find('.panel-args');
309 this.panelStdin = this.domRoot.find('.panel-stdin');
310
311 this.initButtonsVisibility(state);
312 }
313
314 initButtonsVisibility(state: ToolState & MonacoPaneState) {
315 this.toggleArgs = this.domRoot.find('.toggle-args');

Callers 1

constructorFunction · 0.45

Calls 2

initButtonsVisibilityMethod · 0.95
findMethod · 0.80

Tested by

no test coverage detected