Skip to main content
Version: 23.11.1

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>