puppeteer/docs/api/puppeteer.elementhandle.dragover.md

24 lines
438 B
Markdown

---
sidebar_label: ElementHandle.dragOver
---
# ElementHandle.dragOver() method
This method creates a `dragover` event on the element.
**Signature:**
```typescript
class ElementHandle {dragOver(data?: Protocol.Input.DragData): Promise<void>;}
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| data | Protocol.Input.DragData | <i>(Optional)</i> |
**Returns:**
Promise&lt;void&gt;