• Preparing search index...
  • The search index is not available
Monaco Editor API
  • Monaco Editor API
  • editor
  • create

Function create

  • create(domElement, options?, override?): IStandaloneCodeEditor
  • Create a new editor under domElement. domElement should be empty (not contain other dom nodes). The editor will read the size of domElement.

    Parameters

    • domElement: HTMLElement
    • Optional options: IStandaloneEditorConstructionOptions
    • Optional override: IEditorOverrideServices

    Returns IStandaloneCodeEditor

    • Defined in editor.api.d.ts:952

Settings

Member Visibility

Theme

Monaco Editor API
  • Loading...