Window.onuserproxymity
property represents an EventHandler
, that is a function to be called when the userproximity
event occurs. These events are of type UserProximityEvent
and occur when the the device sensor detects that an object becomes nearby.deviceproximity
events. These events occur when the device sensor detects that an object becomes closer to or farther from the device.