interface XMouseParams {
    button: number;
    dragAmount: {
        x: number;
        y: number;
    };
    draggedFrom: {
        x: number;
        y: number;
    };
    element: HTMLElement | SVGElement;
    isTouchEvent: boolean;
    leftButton: boolean;
    middleButton: boolean;
    mouseDownPos: {
        x: number;
        y: number;
    };
    name: string;
    pos: {
        x: number;
        y: number;
    };
    rightButton: boolean;
    wasDragged: boolean;
}

Hierarchy (view full)

Properties

button: number
dragAmount: {
    x: number;
    y: number;
}

Type declaration

  • x: number
  • y: number
draggedFrom: {
    x: number;
    y: number;
}

Type declaration

  • x: number
  • y: number
element: HTMLElement | SVGElement
isTouchEvent: boolean
leftButton: boolean
middleButton: boolean
mouseDownPos: {
    x: number;
    y: number;
}

Type declaration

  • x: number
  • y: number
name: string
pos: {
    x: number;
    y: number;
}

Type declaration

  • x: number
  • y: number
rightButton: boolean
wasDragged: boolean