Upgrade to Pro — share decks privately, control downloads, hide ads and more …

U Can Touch This

U Can Touch This

Ryan Joy

July 13, 2013
Tweet

More Decks by Ryan Joy

Other Decks in Programming

Transcript

  1. Who am I? Web developer / UX developer Developer Evangelist

    @ Microsoft <3 JavaScript Local meetup organizer. Come talk to me about Refresh Austin, Austin Windows App Developers. I tweet a lot. @atxryan
  2. Everybody’s doing it The Dojo team has been watching the

    progress of Pointer Events in the W3C standardization process as it moves to Candidate Recommendation. We see Pointer Events as a great way to unify the disparate models that exist today for mouse, touch, and other pointer devices. Our team looks forward to implementing Pointer Events in the 2.0 release of the Dojo Toolkit. – Bill Keese, Dijit Project Lead We see Pointer Events as a great way to unify the haphazard models that exist today for mouse, touch, and other pointer devices. Our team looks forward to supporting web developer use of Pointer Events as implementations begin to arrive – Dave Methvin, President jQuery Foundation With Pointer Events reaching Candidate Recommendation stage, it is time all mobile html5 application developers paid attention. The best part; you can start using it today…. – Jesse MacFadyen, Adobe Developer, Cordova Committer
  3. Event Model  pointerdown  pointerup  pointermove  pointerover

     pointerout  pointercancel Supports multipoint inputs Captures touch, click, and pen
  4. Additional properties - width - height - pressure (pen) -

    tilt (pen) - rotation - pointerType - pointerId - Event type - And more!
  5. Polyfills • Hand.js - http://handjs.codeplex.com/ • Polymer PointerEvents - https://github.com/Polymer/PointerEvents

    • Pointer.js - https://github.com/borismus/pointer.js • Points.js - https://github.com/Rich-Harris/Points • More…
  6. CSS