Skip to content

IScrollEvent

原文链接

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

ts
interface IScrollEvent {
    scrollHeight: number;
    scrollHeightChanged: boolean;
    scrollLeft: number;
    scrollLeftChanged: boolean;
    scrollTop: number;
    scrollTopChanged: boolean;
    scrollWidth: number;
    scrollWidthChanged: boolean;
}

scrollHeight

  • 类型: number

scrollHeightChanged

  • 类型: boolean

scrollLeft

  • 类型: number

scrollLeftChanged

  • 类型: boolean

scrollTop

  • 类型: number

scrollTopChanged

  • 类型: boolean

scrollWidth

  • 类型: number

scrollWidthChanged

  • 类型: boolean