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

65 lines
728 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: ElementHandle.dragEnter
---
# ElementHandle.dragEnter() method
> Warning: This API is now obsolete.
>
> Do not use. `dragenter` will automatically be performed during dragging.
2022-07-05 13:41:43 +00:00
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class ElementHandle {
dragEnter(
this: ElementHandle<Element>,
data?: Protocol.Input.DragData
): Promise<void>;
2022-07-05 13:41:43 +00:00
}
```
## Parameters
<table><thead><tr><th>
2022-07-05 13:41:43 +00:00
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
this
</td><td>
[ElementHandle](./puppeteer.elementhandle.md)&lt;Element&gt;
</td><td>
</td></tr>
<tr><td>
data
</td><td>
Protocol.Input.DragData
</td><td>
_(Optional)_
</td></tr>
</tbody></table>
2022-07-05 13:41:43 +00:00
**Returns:**
Promise&lt;void&gt;