Skip to content

IDiffEditorViewModel

原文链接

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

ts
interface IDiffEditorViewModel {
    model: IDiffEditorModel;
    dispose(): void;
    waitForDiff(): Promise<void>;
}

model

dispose

  • 语法:dispose(): void

waitForDiff

  • 语法:waitForDiff(): Promise<void>