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

779 B

sidebar_label
ElementHandle.dragEnter

ElementHandle.dragEnter() method

Warning: This API is now obsolete.

Do not use. dragenter will automatically be performed during dragging.

Signature:

class ElementHandle {
  dragEnter(
    this: ElementHandle<Element>,
    data?: Protocol.Input.DragData
  ): Promise<void>;
}

Parameters

Parameter Type Description
this ElementHandle<Element>
data Protocol.Input.DragData (Optional)

Returns:

Promise<void>