puppeteer/docs/api/puppeteer.elementhandle.dragenter.md

24 lines
442 B
Markdown
Raw Normal View History

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