shamansir / elm-aframe / AFrame.Components.DeviceOrientation

Device Orientation

Starting with Safari on iOS 13 browsers require sites to be served over https and request user permission to access DeviceOrientation events. This component presents a permission dialog for the user to grant or deny access. The device-orientation-permission-ui component applies only to the <a-scene> element

enabled : Basics.Bool -> AFrame.Properties.Property

Whether or not to display the dialog when required

Default : true