DeviceOrientationEvent
The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. Available only in secure contexts.
interface DeviceOrientationEvent extends Event {
readonly absolute: boolean;
readonly alpha: number | null;
readonly beta: number | null;
readonly gamma: number | null;
}var DeviceOrientationEvent: {
prototype: DeviceOrientationEvent;
new (type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
};