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.
2.2 KiB
2.2 KiB
Home > puppeteer > Protocol > Input > EmulateTouchFromMouseEventRequest
Protocol.Input.EmulateTouchFromMouseEventRequest interface
Signature:
export interface EmulateTouchFromMouseEventRequest
Properties
Property | Type | Description |
---|---|---|
button | MouseButton | Mouse button. Only "none", "left", "right" are supported. |
clickCount | integer | Number of times the mouse button was clicked (default: 0). |
deltaX | number | X delta in DIP for mouse wheel event (default: 0). |
deltaY | number | Y delta in DIP for mouse wheel event (default: 0). |
modifiers | integer | Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). |
timestamp | TimeSinceEpoch | Time at which the event occurred (default: current time). |
type | ('mousePressed' | 'mouseReleased' | 'mouseMoved' | 'mouseWheel') | Type of the mouse event. (EmulateTouchFromMouseEventRequestType enum) |
x | integer | X coordinate of the mouse pointer in DIP. |
y | integer | Y coordinate of the mouse pointer in DIP. |