ElementHandle.dragOver() 方法
🌐 ElementHandle.dragOver() method
警告:此 API 现已过时。
不要使用。在拖动过程中将自动执行
dragover。
语法
🌐 Signature
class ElementHandle {
dragOver(
this: ElementHandle<Element>,
data?: Protocol.Input.DragData,
): Promise<void>;
}
参数
🌐 Parameters
范围 🌐 Parameter | 类型 🌐 Type | 描述 🌐 Description |
|---|---|---|
this | ElementHandle<Element> | |
data | Protocol.Input.DragData | (可选) 🌐 (Optional) |
返回:
Promise<void>