HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1

6 - Touch Interfaces and Gestures


Today’s mobile devices and many PC monitors incorporate touch-


screen technology, which makes it easier for many users to interact with the


devices and their programs. A simple finger tap selects an object or presses a


button, a finger swipe scrolls a list of photos on the screen, and a pinch


zooms out on an image.


Any finger move is referred to as a gesture, which can involve a


single finger (one-touch, such as press, tap, press and hold, slide to pan, and


so on) or a finger and a thumb (two-touch, such as a pinch and stretch or a


turn to rotate). The action the application takes in response to a gesture is


called a touch event.

Free download pdf