textmode.js / Textmodifier / touchMoved
Method: touchMoved()
ts
touchMoved(callback): void;Register the single-callback handler for touch movement.
The provided callback is invoked continuously while the browser reports move events. Use the previousTouch and deltaTime fields to derive velocity or gesture behaviour.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | TouchEventHandler | Handler to run when a touch moves. |
Returns
void