mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix clickCount docs (#11468)
This commit is contained in:
parent
0e6852d9da
commit
585b7c1941
@ -13,6 +13,6 @@ export interface MouseOptions
|
|||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
| Property | Modifiers | Type | Description | Default |
|
| Property | Modifiers | Type | Description | Default |
|
||||||
| ---------- | --------------------- | ----------------------------------------- | ---------------------------------------- | ------------------- |
|
| ---------- | --------------------- | ----------------------------------------- | -------------------------------------------------------------------------------------- | ------------------- |
|
||||||
| button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | Determines which button will be pressed. | <code>'left'</code> |
|
| 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> |
|
| clickCount | <code>optional</code> | number | Determines the click count for the mouse event. This does not perform multiple clicks. | <code>1</code> |
|
||||||
|
@ -219,11 +219,10 @@ export interface MouseOptions {
|
|||||||
*/
|
*/
|
||||||
button?: MouseButton;
|
button?: MouseButton;
|
||||||
/**
|
/**
|
||||||
* @deprecated Use {@link MouseClickOptions.count}.
|
|
||||||
*
|
|
||||||
* Determines the click count for the mouse event. This does not perform
|
* Determines the click count for the mouse event. This does not perform
|
||||||
* multiple clicks.
|
* multiple clicks.
|
||||||
*
|
*
|
||||||
|
* @deprecated Use {@link MouseClickOptions.count}.
|
||||||
* @defaultValue `1`
|
* @defaultValue `1`
|
||||||
*/
|
*/
|
||||||
clickCount?: number;
|
clickCount?: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user