TouchscreenTouchscreen.touchMove版本:23.11.1本頁內容Touchscreen.touchMove() 方法 在第一個活動的觸摸點上發送 touchMove 事件。 簽名 class Touchscreen { touchMove(x: number, y: number): Promise<void>;} 參數 參數類型描述xnumber移動的水平位置。ynumber垂直移動的位置。 回傳 Promise<void> 備註 並非每個 touchMove 呼叫都會導致發出 touchmove 事件,這取決於瀏覽器的最佳化。例如,Chrome 節流 觸摸移動事件。