mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
1.5 KiB
Markdown
23 lines
1.5 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Input](./puppeteer.protocol.input.md) > [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 (<!-- -->><!-- -->1.0 zooms in, <<!-- -->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. |
|
|
|