We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d6e17d commit a71c5dcCopy full SHA for a71c5dc
README.md
@@ -60,6 +60,8 @@ Access the values in the callback function of the `gn.start()`
60
// data.dm.beta ( devicemotion event rotationRate beta value )
61
// data.dm.gamma ( devicemotion event rotationRate gamma value )
62
});
63
+ }).catch(function(e){
64
+ // Catch if the DeviceOrientation or DeviceMotion is not supported by the browser or device
65
66
</script>
67
```
0 commit comments