mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: extends ElementHandle to Nodes (#8552)
* fix: extends `ElementHandle` to `Node`s (#8552)
This commit is contained in:
@@ -10,15 +10,19 @@ This method triggers a drop on the element.
|
||||
|
||||
```typescript
|
||||
class ElementHandle {
|
||||
drop(data?: Protocol.Input.DragData): Promise<void>;
|
||||
drop(
|
||||
this: ElementHandle<Element>,
|
||||
data?: Protocol.Input.DragData
|
||||
): Promise<void>;
|
||||
}
|
||||
```
|
||||
|
||||
## Parameters
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ----------------------- | ----------------- |
|
||||
| data | Protocol.Input.DragData | <i>(Optional)</i> |
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------------------------------ | ----------------- |
|
||||
| this | [ElementHandle](./puppeteer.elementhandle.md)<Element> | |
|
||||
| data | Protocol.Input.DragData | <i>(Optional)</i> |
|
||||
|
||||
**Returns:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user