puppeteer/website/versioned_docs/version-9.1.1/puppeteer.mouse.drop.md
2021-08-10 11:09:48 +01:00

26 lines
652 B
Markdown

<!-- 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;