Skip to content

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 ​

ParameterTypeDescription
callbackTouchEventHandlerHandler to run when a touch moves.

Returns ​

void

Example ​