textmode.js / Textmodifier / doubleTap
Method: doubleTap()
ts
doubleTap(callback): void;Register a callback for double tap gestures.
Double taps reuse the same input.touch.TouchTapEventData as taps with taps set to 2. This helper lets you supply a dedicated handler when you want to treat double taps differently.
Parameters
| Parameter | Type | Description |
|---|---|---|
callback | TouchTapHandler | Handler to run when a double tap is detected. |
Returns
void