Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 674 Bytes

File metadata and controls

19 lines (12 loc) · 674 Bytes

Event attributes common to all gestures:

state

Current state of the handler. Expressed as one of the constants exported under State object by the library.

numberOfPointers

Represents the number of pointers (fingers) currently placed on the screen.

pointerType

Indicates the type of pointer device in use. This value is represented by the PointerType enum, which includes the following fields:

  • TOUCH - represents finger
  • STYLUS - represents stylus or digital pen
  • MOUSE - represents computer mouse
  • KEY - represents keyboard
  • OTHER - represents unknown device type that is not relevant