Home
last modified time | relevance | path

Searched refs:DeviceOrientationEvent (Results 1 – 7 of 7) sorted by relevance

/expo/packages/expo-sensors/src/utils/
H A DisSensorEnabledAsync.web.ts72 declare let DeviceOrientationEvent: { variable
73 prototype: DeviceOrientationEvent;
74 new (type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent;
86 typeof DeviceOrientationEvent !== 'undefined' &&
87 !!DeviceOrientationEvent?.requestPermission
89 return DeviceOrientationEvent.requestPermission;
/expo/packages/expo-sensors/build/utils/
H A DisSensorEnabledAsync.web.js50 else if (typeof DeviceOrientationEvent !== 'undefined' &&
51 !!DeviceOrientationEvent?.requestPermission) {
52 return DeviceOrientationEvent.requestPermission;
H A DisSensorEnabledAsync.web.js.map1 …DeviceOrientationEvent\n * - https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent\n …
/expo/packages/expo-sensors/src/
H A DExponentAccelerometer.web.ts18 if (typeof DeviceOrientationEvent === 'undefined') {
/expo/packages/expo-sensors/build/
H A DExponentAccelerometer.web.js10 if (typeof DeviceOrientationEvent === 'undefined') {
H A DExponentAccelerometer.web.js.map1 …\n async isAvailableAsync(): Promise<boolean> {\n if (typeof DeviceOrientationEvent === 'undef…
/expo/packages/expo-sensors/
H A DCHANGELOG.md200 - Ensure browser globals `DeviceMotionEvent` and `DeviceOrientationEvent` exist before attempting t…