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

14 lines
669 B
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; [DispatchMouseEventRequest](./puppeteer.protocol.input.dispatchmouseeventrequest.md) &gt; [buttons](./puppeteer.protocol.input.dispatchmouseeventrequest.buttons.md)
## Protocol.Input.DispatchMouseEventRequest.buttons property
A number indicating which buttons are pressed on the mouse when a mouse event is triggered. Left=1, Right=2, Middle=4, Back=8, Forward=16, None=0.
<b>Signature:</b>
```typescript
buttons?: integer;
```