Skip to content

InternalEditorScrollbarOptions ​

原文链接

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

ts
interface InternalEditorScrollbarOptions {
    alwaysConsumeMouseWheel: boolean;
    arrowSize: number;
    handleMouseWheel: boolean;
    horizontal: ScrollbarVisibility;
    horizontalHasArrows: boolean;
    horizontalScrollbarSize: number;
    horizontalSliderSize: number;
    ignoreHorizontalScrollbarInContentHeight: boolean;
    scrollByPage: boolean;
    useShadows: boolean;
    vertical: ScrollbarVisibility;
    verticalHasArrows: boolean;
    verticalScrollbarSize: number;
    verticalSliderSize: number;
}

alwaysConsumeMouseWheel ​

  • 类型: boolean

arrowSize ​

  • 类型: number

handleMouseWheel ​

  • 类型: boolean

horizontal ​

horizontalHasArrows ​

  • 类型: boolean

horizontalScrollbarSize ​

  • 类型: number

horizontalSliderSize ​

  • 类型: number

ignoreHorizontalScrollbarInContentHeight ​

  • 类型: boolean

scrollByPage ​

  • 类型: boolean

useShadows ​

  • 类型: boolean

vertical ​

verticalHasArrows ​

  • 类型: boolean

verticalScrollbarSize ​

  • 类型: number

verticalSliderSize ​

  • 类型: number

Released under the MIT License.