ElementHandle.dragEnter() 方法
¥ElementHandle.dragEnter() method
警告:此 API 现已过时。
¥Warning: This API is now obsolete.
不使用。拖动过程中会自动执行
dragenter。¥Do not use.
dragenterwill automatically be performed during dragging.
签名
¥Signature
class ElementHandle {
dragEnter(
this: ElementHandle<Element>,
data?: Protocol.Input.DragData,
): Promise<void>;
}
参数
¥Parameters
范围 | 类型 | 描述 |
|---|---|---|
this | ElementHandle<元素> | |
data | Protocol.Input.DragData | (可选的) |
Returns:
Promise<void>