Sign up below to view device data and get your trial account.

We communicate via email to process your request in line with our privacy policy. Please check the box to give us your permission to do this.

Cancel

Choose a category below to quickly discover all our device intelligence articles.


  • Share
  • DeviceAtlas LinkedIn

You are here

HTML5 Device Orientation API: How To

Martin Clancy - 11 Jul 2013
0 min read

Over on mobiForge, Ruadhan O' Donoghue continues his series of articles on HTML5 for the mobile web. This time focusing on the Device Orientation API which can report how a device is physically oriented in space through the device sensors. It's a fascinating look at how to implement the code behind this API and includes a live HTML5 compass demo! Check it out here: http://mobiforge.com/design-development/html5-mobile-web-device-orientation-events