Skip to content

Latest commit

 

History

History
89 lines (48 loc) · 1.82 KB

Schema.ClickAttributes.md

File metadata and controls

89 lines (48 loc) · 1.82 KB

@puppeteer/replay / Schema / ClickAttributes

Interface: ClickAttributes

Schema.ClickAttributes

Hierarchy

Table of contents

Properties

Properties

button

Optional button: PointerButtonType

Defaults to 'primary' if the device type is a mouse.

Defined in

Schema.ts:119


deviceType

Optional deviceType: PointerDeviceType

Pointer type for the event. Defaults to 'mouse'.

Defined in

Schema.ts:115


duration

Optional duration: number

Delay (in ms) between the mouse up and mouse down of the click.

Default Value

50

Defined in

Schema.ts:135


offsetX

offsetX: number

in px, relative to the top-left corner of the element content box. Defaults to the center of the element

Defined in

Schema.ts:124


offsetY

offsetY: number

in px, relative to the top-left corner of the element content box. Defaults to the center of the element

Defined in

Schema.ts:129