The UserProximityEvent indicates whether a nearby physical object is present by using the proximity sensor of a device.
Attributes
-
near
-
Boolean. Indicates if the device has sensed a nearby physical object.
Browser compatibility
| Feature |
Chrome |
Firefox (Gecko) |
Internet Explorer |
Opera |
Safari |
| Basic support |
Not supported |
Not supported |
Not supported |
Not supported |
Not supported |
| Feature |
Android |
Chrome for Android |
Firefox Mobile (Gecko) |
IE Mobile |
Opera Mobile |
Safari Mobile |
| Basic support |
Not supported |
Not supported |
15.0 (15.0) |
Not supported |
Not supported |
Not supported |
Specifications
| Specification |
Status |
Comment |
| Proximity Events |
Working Draft |
Initial specification |
See also