API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfacePlatformPointerEvent

@codexo/exojs / core / stable

A pointer contact. Field-for-field a subset of the DOM's `PointerEvent`, carrying the identity, position, geometry, tilt, pressure and button state the engine's pointer model reads, and nothing else.

14
props
2
methods
0
events
Import
import { PlatformPointerEvent } from '@codexo/exojs'

A pointer contact. Field-for-field a subset of the DOM's `PointerEvent`, carrying the identity, position, geometry, tilt, pressure and button state the engine's pointer model reads, and nothing else.

Methods2
preventDefault(): void
stopImmediatePropagation(): void
Properties14
buttons: number
clientX: number
clientY: number
height: number
isPrimary: boolean
movementX?: number
Movement since the previous event of the same pointer, in the same units as clientX/clientY. Absent where the host reports no relative motion. The only motion there is while the pointer is locked: a locked pointer has no position on screen, so clientX/clientY stop moving and this is what carries the gesture.
movementY?: number
pointerId: number
pointerType: string
pressure: number
tiltX: number
tiltY: number
twist: number
width: number
Source