MCPcopy
hub / github.com/microsoft/monaco-editor / createButton

Function createButton

test/manual/index.js:188–193  ·  view source on GitHub ↗
(label, onClick)

Source from the content-addressed store, hash-verified

186 }
187
188 function createButton(label, onClick) {
189 var result = document.createElement('button');
190 result.innerHTML = label;
191 result.onclick = onClick;
192 return result;
193 }
194
195 function createOptions(editor) {
196 var options = document.getElementById('options');

Callers 1

createToolbarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…