Definition
Device Orientation and Motion defines DeviceOrientationEvent
[Exposed=Window, SecureContext]
interface DeviceOrientationEvent : Event {
constructor(DOMString type, optional DeviceOrientationEventInit eventInitDict = {});
readonly attribute double? alpha;
readonly attribute double? beta;
readonly attribute double? gamma;
readonly attribute boolean absolute;
static Promise<PermissionState> requestPermission(optional boolean absolute = false);
};