puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.mouse.dragenter.md

660 B

sidebar_label
Mouse.dragEnter

Mouse.dragEnter() method

Dispatches a dragenter event.

Signature:

class Mouse {
  dragEnter(target: Point, data: Protocol.Input.DragData): Promise<void>;
}

Parameters

Parameter Type Description
target Point point for emitting dragenter event
data Protocol.Input.DragData drag data containing items and operations mask

Returns:

Promise<void>