Skip to content

IMouseTargetContentEmpty

原文链接

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

ts
interface IMouseTargetContentEmpty {
    detail: IMouseTargetContentEmptyData;
    element: HTMLElement;
    mouseColumn: number;
    position: Position;
    range: Range;
    type: CONTENT_EMPTY;
}

detail

element

  • 类型:HTMLElement
  • 描述:目标元素

mouseColumn

  • 类型:number
  • 描述:鼠标相对于文本的列

position

range

  • 类型:Range
  • 描述:鼠标范围

type