Skip to main content
Version: 22.14.0

ElementHandle.drop() 方法

¥ElementHandle.drop() method

警告:此 API 现已过时。

¥Warning: This API is now obsolete.

不再支持。

¥No longer supported.

签名:

¥Signature:

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

参数

¥Parameters

范围

类型

描述

this

ElementHandle<元素>

data

Protocol.Input.DragData

(可选的)

Returns:

Promise<void>