Skip to main content

DISPATCH_MOUSE_EVENT

Constant DISPATCH_MOUSE_EVENT 

Source
pub const DISPATCH_MOUSE_EVENT: &str = "Input.dispatchMouseEvent";
Expand description

Dispatches a mouse event to the page.

Parameters:

  • type: string
  • x: number
  • y: number
  • modifiers: integer (optional)
  • timestamp: TimeSinceEpoch (optional)
  • button: MouseButton (optional)
  • buttons: integer (optional)
  • clickCount: integer (optional)
  • force: number (optional)
  • tangentialPressure: number (optional)
  • tiltX: number (optional)
  • tiltY: number (optional)
  • twist: integer (optional)
  • deltaX: number (optional)
  • deltaY: number (optional)
  • pointerType: string (optional)