mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
e89e264a16
This corresponds to Chromium 85.0.4182.0. This roll includes: - Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure https://crrev.com/c/2231445 - [FlexNG] Enable FlexNG by default https://crrev.com/c/2216595 Closes #6151.
27 lines
2.2 KiB
Markdown
27 lines
2.2 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) > [EmulateTouchFromMouseEventRequest](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.md)
|
|
|
|
## Protocol.Input.EmulateTouchFromMouseEventRequest interface
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface EmulateTouchFromMouseEventRequest
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [button](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.button.md) | [MouseButton](./puppeteer.protocol.input.mousebutton.md) | Mouse button. Only "none", "left", "right" are supported. |
|
|
| [clickCount](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.clickcount.md) | [integer](./puppeteer.protocol.integer.md) | Number of times the mouse button was clicked (default: 0). |
|
|
| [deltaX](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.deltax.md) | number | X delta in DIP for mouse wheel event (default: 0). |
|
|
| [deltaY](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.deltay.md) | number | Y delta in DIP for mouse wheel event (default: 0). |
|
|
| [modifiers](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.modifiers.md) | [integer](./puppeteer.protocol.integer.md) | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). |
|
|
| [timestamp](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.timestamp.md) | [TimeSinceEpoch](./puppeteer.protocol.input.timesinceepoch.md) | Time at which the event occurred (default: current time). |
|
|
| [type](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.type.md) | ('mousePressed' \| 'mouseReleased' \| 'mouseMoved' \| 'mouseWheel') | Type of the mouse event. (EmulateTouchFromMouseEventRequestType enum) |
|
|
| [x](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.x.md) | [integer](./puppeteer.protocol.integer.md) | X coordinate of the mouse pointer in DIP. |
|
|
| [y](./puppeteer.protocol.input.emulatetouchfrommouseeventrequest.y.md) | [integer](./puppeteer.protocol.integer.md) | Y coordinate of the mouse pointer in DIP. |
|
|
|