A Blazor wrapper for the browser DeviceOrientation API
The API provides several events that provide information about acceleration and orientation of a physical device through the browser. This wrapper supplies a way to listen for these events and ask for permissions in different ways depending on the browser.
The sample project can be demoed at https://kristofferstrube.github.io/Blazor.DeviceOrientation/
On each page you can find the corresponding code for the example in the top right corner.
On the API Coverage Status page you can get an overview over what parts of the API we support currently.