docs: fix clickCount docs (#11468)

This commit is contained in:
Alex Rudenko 2023-11-30 11:07:24 +01:00 committed by GitHub
parent 0e6852d9da
commit 585b7c1941
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,7 @@ export interface MouseOptions
## Properties
| Property | Modifiers | Type | Description | Default |
| ---------- | --------------------- | ----------------------------------------- | ---------------------------------------- | ------------------- |
| button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | Determines which button will be pressed. | <code>'left'</code> |
| clickCount | <code>optional</code> | number | | <code>1</code> |
| Property | Modifiers | Type | Description | Default |
| ---------- | --------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------- | ------------------- |
| button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | Determines which button will be pressed. | <code>'left'</code> |
| clickCount | <code>optional</code> | number | Determines the click count for the mouse event. This does not perform multiple clicks. | <code>1</code> |

View File

@ -219,11 +219,10 @@ export interface MouseOptions {
*/
button?: MouseButton;
/**
* @deprecated Use {@link MouseClickOptions.count}.
*
* Determines the click count for the mouse event. This does not perform
* multiple clicks.
*
* @deprecated Use {@link MouseClickOptions.count}.
* @defaultValue `1`
*/
clickCount?: number;