Skip to content

IContentSizeChangedEvent

原文链接

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

ts
interface IContentSizeChangedEvent {
    contentHeight: number;
    contentHeightChanged: boolean;
    contentWidth: number;
    contentWidthChanged: boolean;
}

contentHeight

  • 类型: number

contentHeightChanged

  • 类型: boolean

contentWidth

  • 类型: boolean

contentWidthChanged

  • 类型: boolean