DeviceOrientationEventInit Class
The initialization dictionary of a DeviceOrientationEvent (https://w3c.github.io/deviceorientation/#dictdef-deviceorientationeventinit).
public sealed class DeviceOrientationEventInit : EventInit- Inheritance
EventInitDeviceOrientationEventInit
Constructors
| Name | Description |
|---|---|
| DeviceOrientationEventInit() |
DeviceOrientationEventInit()
public DeviceOrientationEventInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Absolute | Gets whether the orientation is relative to the Earth. |
| Alpha | Gets the rotation around the Z axis, in degrees, or null. |
| Beta | Gets the rotation around the X' axis, in degrees, or null. |
| Gamma | Gets the rotation around the Y'' axis, in degrees, or null. |
Absolute
DeviceOrientationEvents.csGets whether the orientation is relative to the Earth.
public bool Absolute { get; init; }Property value
See also
Gets the rotation around the Z axis, in degrees, or null.
public double? Alpha { get; init; }Property value
See also
Gets the rotation around the X' axis, in degrees, or null.
public double? Beta { get; init; }Property value
See also
Gets the rotation around the Y'' axis, in degrees, or null.
public double? Gamma { get; init; }