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. |
|
||
|
| [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. |
|
||
|
|