Reference deviceOrientation

deviceOrientation

The system variable deviceOrientation always contains the orientation of the device. The value of this variable will either be set 'landscape' or 'portrait'. If no data is available it will be set to 'undefined'. either LANDSCAPE or PORTRAIT.

This page is generated from the comments in src/events/acceleration.js . Please feel free to edit it and submit a pull request!

Related References