Skip to content

ObsidianTouchEvent

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:3

Properties

direction

direction: "x" | "y"

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:4


evt

evt: TouchEvent

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:5


points

points: number

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:6


registerCallback

registerCallback: object

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:7

cancel()

Returns

void

finish()

Parameters
x

number

y

number

z

number

Returns

void

move()

Parameters
x

number

Returns

void


startX

startX: number

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:12


startY

startY: number

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:13


targetEl

targetEl: HTMLElement

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:14


touch

touch: Touch

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:15


x

x: number

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:16


y

y: number

Defined in: src/obsidian/internals/ObsidianTouchEvent.d.ts:17