puppeteer/new-docs/puppeteer.protocol.input.synthesizepinchgesturerequest.md
2020-07-13 14:01:35 +01:00

23 lines
1.5 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Input](./puppeteer.protocol.input.md) &gt; [SynthesizePinchGestureRequest](./puppeteer.protocol.input.synthesizepinchgesturerequest.md)
## Protocol.Input.SynthesizePinchGestureRequest interface
<b>Signature:</b>
```typescript
export interface SynthesizePinchGestureRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [gestureSourceType](./puppeteer.protocol.input.synthesizepinchgesturerequest.gesturesourcetype.md) | [GestureSourceType](./puppeteer.protocol.input.gesturesourcetype.md) | Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). |
| [relativeSpeed](./puppeteer.protocol.input.synthesizepinchgesturerequest.relativespeed.md) | [integer](./puppeteer.protocol.integer.md) | Relative pointer speed in pixels per second (default: 800). |
| [scaleFactor](./puppeteer.protocol.input.synthesizepinchgesturerequest.scalefactor.md) | number | Relative scale factor after zooming (<!-- -->&gt;<!-- -->1.0 zooms in, &lt;<!-- -->1.0 zooms out). |
| [x](./puppeteer.protocol.input.synthesizepinchgesturerequest.x.md) | number | X coordinate of the start of the gesture in CSS pixels. |
| [y](./puppeteer.protocol.input.synthesizepinchgesturerequest.y.md) | number | Y coordinate of the start of the gesture in CSS pixels. |