Ross Boucher: iPhone Touch Events

4,095 views

Published on

This is a talk by Ross Boucher of 280 North about the basics of iPhone Touch Events and how to handle them on the iPhone, which is not trivial since they are different than simple onClick, and onMouse events web developers are used to.

Published in: Technology, News & Politics
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,095
On SlideShare
0
From Embeds
0
Number of Embeds
41
Actions
Shares
0
Downloads
63
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Ross Boucher: iPhone Touch Events

  1. 1. iPhone Touch Events in JavaScript
  2. 2. What's New? Touches • touchstart • touchend • touchmove • touchcancel Gestures • gesturestart • gesturechange • gestureend
  3. 3. Touches
  4. 4. New Event Properties Three Arrays: • touches: Every finger touching the screen • targetTouches: All touches that originated in the same target node • changedTouches: Only touches that are involved in the current event callback

×