Interface MouseTarget

interface MouseTarget {
    detail: any;
    element?: Element;
    mouseColumn: number;
    position?: Position;
    range?: Range;
    type: MouseTargetType;
}

Properties

detail: any

Some extra detail.

element?: Element

The target element

mouseColumn: number

Desired mouse column (e.g. when position.column gets clamped to text length -- clicking after text on a line).

position?: Position

The 'approximate' editor position

range?: Range

The 'approximate' editor range

The target type