| 程序包 | 说明 |
|---|---|
| com.ruiyun.jvppeteer.api.core | |
| com.ruiyun.jvppeteer.bidi.core | |
| com.ruiyun.jvppeteer.cdp.core | |
| com.ruiyun.jvppeteer.cdp.entities |
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
ElementHandle.drag(ElementHandle target)
将当前元素拖动到目标元素上
|
DragData |
ElementHandle.drag(Point point)
将当前元素拖动到指定位置
|
abstract DragData |
Mouse.drag(Point start,
Point target)
调度 drag 事件。
|
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
Mouse.dragEnter(Point target,
DragData data)
调度 dragenter 事件。
|
abstract void |
Mouse.dragOver(Point target,
DragData data)
调度 dragover 事件。
|
abstract void |
Mouse.drop(Point target,
DragData data)
按顺序执行 dragenter、dragover 和 drop。
|
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
BidiMouse.drag(Point start,
Point target) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BidiMouse.dragEnter(Point target,
DragData data) |
void |
BidiMouse.dragOver(Point target,
DragData data) |
void |
BidiMouse.drop(Point target,
DragData data) |
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
CdpMouse.drag(Point start,
Point target) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CdpMouse.dragEnter(Point target,
DragData data) |
void |
CdpMouse.dragOver(Point target,
DragData data) |
void |
CdpMouse.drop(Point target,
DragData data) |
| 限定符和类型 | 方法和说明 |
|---|---|
DragData |
DragInterceptedEvent.getData() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DragInterceptedEvent.setData(DragData data) |
Copyright © 2020–2025. All rights reserved.