Inherits from Event

Overview

The TouchEvent class encapsulates information about a touch event.

Touch Events version 1 is implemented in OpenAphid. We’re discussing about adding Safari extension attributes and high level guesture events in the future release, like rotation, ongesturestart, etc.

Overview of Tasks

Attributes

  • Type
  • bool
  • TouchList
  • bool
  • bool
  • bool
  • TouchList
  • TouchList
  • Writability
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly
  • readonly

Attributes

altKey

readonly bool altKey

Discussion

For W3C compatibility only, the value is always false

changedTouches

A list of Touch objects representing all touches that changed in this event.

readonly TouchList changedTouches

ctrlKey

readonly bool ctrlKey

Discussion

For W3C compatibility only, the value is always false

metaKey

readonly bool metaKey

Discussion

For W3C compatibility only, the value is always false

shiftKey

readonly bool shiftKey

Discussion

For W3C compatibility only, the value is always false

targetTouches

A list of Touch objects representing all touches associated with this target.

readonly TouchList targetTouches

touches

A list of Touch objects representing all touches associated with this event.

readonly TouchList touches