ElementHandle.dragEnter() 方法
🌐 ElementHandle.dragEnter() method
警告:此 API 现已过时。
不要使用。在拖动过程中将自动执行
dragenter。
语法
🌐 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) |
返回:
Promise<void>