puppeteer/website/versioned_docs/version-20.6.0/api/puppeteer.elementhandle.dragenter.md
release-please[bot] d89072a368
chore: release main (#10298)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-06-12 08:11:43 +00:00

30 lines
721 B
Markdown

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