API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
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(): voidstopImmediatePropagation(): voidProperties14
buttons: numberclientX: numberclientY: numberheight: numberisPrimary: booleanmovementX?: numberMovement 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?: numberpointerId: numberpointerType: stringpressure: numbertiltX: numbertiltY: numbertwist: numberwidth: numberSource