2022-07-05 13:41:43 +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>
|