Skip to content

INewScrollPosition

原文链接

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

ts
interface INewScrollPosition {
    scrollLeft?: number;
    scrollTop?: number;
}

scrollLeft

  • 类型: number

scrollTop

  • 类型: number