ElementHandle.dragOver() 方法
警告:此 API 现已废弃。
请勿使用。在拖拽过程中会自动执行
dragover。
签名
class ElementHandle {
dragOver(
this: ElementHandle<Element>,
data?: Protocol.Input.DragData,
): Promise<void>;
}
参数
|
参数 |
类型 |
说明 |
|---|---|---|
|
this |
ElementHandle<Element> | |
|
data |
Protocol.Input.DragData |
(可选) |
返回值:
Promise<void>