Input.dispatchTouchEvent

Dispatches a touch event to the page.

{
  "name": "dispatchTouchEvent",
  "experimental": true,
  "parameters": [
    {
      "name": "type",
      "type": "string",
      "enum": [
        "touchStart",
        "touchEnd",
        "touchMove"
      ],
      "description": "Type of the touch event."
    },
    {
      "name": "touchPoints",
      "type": "array",
      "items": {
        "$ref": "TouchPoint"
      },
      "description": "Touch points."
    },
    {
      "name": "modifiers",
      "type": "integer",
      "optional": true,
      "description": "Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0)."
    },
    {
      "name": "timestamp",
      "type": "number",
      "optional": true,
      "description": "Time at which the event occurred. Measured in UTC time in seconds since January 1, 1970 (default: current time)."
    }
  ],
  "description": "Dispatches a touch event to the page."
}