Skip to main content
Version: 24.38.0

TouchHandle 接口

🌐 TouchHandle interface

TouchHandle 接口公开了用于操作已启动触摸的方法

🌐 The TouchHandle interface exposes methods to manipulate touches that have been started

语法

🌐 Signature

export interface TouchHandle

方法

🌐 Methods

方法

🌐 Method

描述

🌐 Description

end()

为此触摸分发一个 touchend 事件。

🌐 Dispatches a touchend event for this touch.

move(x, y)

为此触摸分发一个 touchMove 事件。

🌐 Dispatches a touchMove event for this touch.