Skip to content

ICodeEditorOpener

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/editor.ICodeEditorOpener.html

ts
interface ICodeEditorOpener {
    openCodeEditor(source, resource, selectionOrPosition?): boolean | Promise<boolean>;
}

openCodeEditor

  • 语法:openCodeEditor(source, resource, selectionOrPosition?): boolean | Promise<boolean>
  • 参数: