This device's orientation data is exchanged with SignalR.
See in action
Detecting Device Orientation
For a Desktop Browser
1. Open Developer Tools
2. Press Ctrl + Shift + P
3. Type "Show Sensors"
4. Choose orientation as "Custom orientation"
5. Volia!! You can Simulate the Orientation Now
For a Mobile Browser
It should work properly if you are using Android Chrome, Mozilla Firefox for mobile.