With more and more touchscreen devices, HTML5 brings to the table a set of touch-based interaction events. Because mouse-based events aren’t able to adequately capture the range of interactions possible via touchscreen, touch events are a welcome and necessary addition for web developers.
The Touch Events are a set of low-level events that represent one or more points of contact with a touch-sensitive surface, and changes of those points with respect to the surface and any DOM elements displayed upon it or associated with it.
-
TouchEvent
- Represents an event that occurs when the state of touches on the surface changes.
-
Touch
- Represents a single point of contact between the user and the touch surface.
-
TouchList
- Represents a group of touches; this is used when the user has, for example, multiple fingers on the surface at the same time.
-
DocumentTouch
- Contains convenience methods for creating
Touch
andTouchList
objects.
If you want to know more check out:
http://www.w3.org/TR/touch-events/
No comments:
Post a Comment