mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: format docs (#8629)
This commit is contained in:
@@ -1,23 +1,25 @@
|
||||
---
|
||||
sidebar_label: ElementHandle.drag
|
||||
---
|
||||
# ElementHandle.drag() method
|
||||
|
||||
This method creates and captures a dragevent from the element.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
class ElementHandle {drag(target: Point): Promise<Protocol.Input.DragData>;}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| target | [Point](./puppeteer.point.md) | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<Protocol.Input.DragData>
|
||||
|
||||
---
|
||||
sidebar_label: ElementHandle.drag
|
||||
---
|
||||
|
||||
# ElementHandle.drag() method
|
||||
|
||||
This method creates and captures a dragevent from the element.
|
||||
|
||||
**Signature:**
|
||||
|
||||
```typescript
|
||||
class ElementHandle {
|
||||
drag(target: Point): Promise<Protocol.Input.DragData>;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ----------------------------- | ----------- |
|
||||
| target | [Point](./puppeteer.point.md) | |
|
||||
|
||||
**Returns:**
|
||||
|
||||
Promise<Protocol.Input.DragData>
|
||||
|
||||
Reference in New Issue
Block a user