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

Function createDiffEditor

  • createDiffEditor(domElement, options?, override?): IStandaloneDiffEditor
  • Create a new diff 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: IStandaloneDiffEditorConstructionOptions
    • Optional override: IEditorOverrideServices

    Returns IStandaloneDiffEditor

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

Settings

Member Visibility

Theme

Monaco Editor API
  • Loading...