ObsidianTouchEventRegisterCallback
Unofficial
Callbacks for controlling a touch gesture’s lifecycle.
Import:
import type { ObsidianTouchEventRegisterCallback } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ObsidianTouchEventRegisterCallbackMethods
| Method | Returns | Description | |
|---|---|---|---|
| cancel() | void | Cancel the current touch gesture. | |
| finish(x, y, z) | void | Complete the touch gesture with the final coordinates and velocity. | |
| move(x) | void | Update the gesture with the current position during movement. |
Links to this page: