Referencia 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.

Notice any errors or typos? Please let us know. Please feel free to edit src/events/acceleration.js and open a pull request!

Referencias Relacionadas