How to get the device orientation value?

How to get the device orientation value?

BY 17 Nov 2015 Web Code Snippet
■ Summary
– This is the code to get the device orientation value.

■ Reference Sites
– https://developer.tizen.org/community/tip-tech/flexible-layouts-web-applications
Written by