mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
2 lines
No EOL
861 B
JavaScript
2 lines
No EOL
861 B
JavaScript
"use strict";(self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[5496],{5496:(e,t,n)=>{n.r(t),n.d(t,{default:()=>o});const o='// Through the options literal, the behaviour of the editor can be easily customized.\n// Here are a few examples of config options that can be passed to the editor.\n// You can also call editor.updateOptions at any time to change the options.\n\nvar editor = monaco.editor.create(document.getElementById("container"), {\n\tvalue: "// First line\\nfunction hello() {\\n\\talert(\'Hello world!\');\\n}\\n// Last line",\n\tlanguage: "javascript",\n\n\tlineNumbers: "off",\n\troundedSelection: false,\n\tscrollBeyondLastLine: false,\n\treadOnly: false,\n\ttheme: "vs-dark",\n});\nsetTimeout(function () {\n\teditor.updateOptions({\n\t\tlineNumbers: "on",\n\t});\n}, 2000);\n'}}]);
|
|
//# sourceMappingURL=5496.js.map
|