touchmove 触摸移动事件
touchmove
类型: MethodDeclaration
定义位置: ui.ts
描述
触摸移动事件
参数 event
: 脚本触摸事件
参数
参数名 | 类型 | 描述 | 默认值 |
---|---|---|---|
event | ScriptTouchEvent | - | - |
返回值
类型: void
源代码
位置: 第 793 行
private touchmove(event: ScriptTouchEvent): void {
for (const element of UI.touchedTargets) {
Input.bubbles.start()
element.emit('touchmove', event, true)
UI._updateBubbleState(element)
}
}
文档生成时间:2025/7/7 12:07:07