puppeteer/website/versioned_docs/version-9.1.1/puppeteer.mouse.drop.md

26 lines
652 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Mouse](./puppeteer.mouse.md) &gt; [drop](./puppeteer.mouse.drop.md)
## Mouse.drop() method
Performs a dragenter, dragover, and drop in sequence.
<b>Signature:</b>
```typescript
drop(target: Point, data: Protocol.Input.DragData): Promise<void>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| target | [Point](./puppeteer.point.md) | point to drop on |
| data | Protocol.Input.DragData | drag data containing items and operations mask |
<b>Returns:</b>
Promise&lt;void&gt;