Searched refs:DeviceOrientationEvent (Results 1 – 7 of 7) sorted by relevance
72 declare let DeviceOrientationEvent: { variable73 prototype: DeviceOrientationEvent;74 new (type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;86 typeof DeviceOrientationEvent !== 'undefined' &&87 !!DeviceOrientationEvent?.requestPermission89 return DeviceOrientationEvent.requestPermission;
50 else if (typeof DeviceOrientationEvent !== 'undefined' &&51 !!DeviceOrientationEvent?.requestPermission) {52 return DeviceOrientationEvent.requestPermission;
1 …DeviceOrientationEvent\n * - https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent\n …
18 if (typeof DeviceOrientationEvent === 'undefined') {
10 if (typeof DeviceOrientationEvent === 'undefined') {
1 …\n async isAvailableAsync(): Promise<boolean> {\n if (typeof DeviceOrientationEvent === 'undef…
200 - Ensure browser globals `DeviceMotionEvent` and `DeviceOrientationEvent` exist before attempting t…