2022-07-05 12:42:31 +00:00
|
|
|
---
|
|
|
|
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<void>
|
|
|
|
|