From 2958ec7e85c9a1182cd81728e3705948a2c39d71 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 11:58:24 -0700 Subject: replace some domxref macro calls with event macro calls (#1016) --- files/zh-cn/orphaned/web/api/window/onuserproximity/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/zh-cn/orphaned/web/api') diff --git a/files/zh-cn/orphaned/web/api/window/onuserproximity/index.html b/files/zh-cn/orphaned/web/api/window/onuserproximity/index.html index 254ceea752..0e91487f8f 100644 --- a/files/zh-cn/orphaned/web/api/window/onuserproximity/index.html +++ b/files/zh-cn/orphaned/web/api/window/onuserproximity/index.html @@ -6,7 +6,7 @@ original_slug: Web/API/Window/onuserproximity ---

{{ ApiRef() }}

-

Window.onuserproxymity 属性代表一个 {{domxref("EventHandler")}}, 当触发 {{event("userproximity")}} 事件时会调用这个函数。这些事件是 {{domxref("UserProximityEvent")}} 类型的,在设备传感器检测到对象变得靠近时触发。

+

Window.onuserproxymity 属性代表一个 {{event("Event_handlers")}}, 当触发 {{event("userproximity")}} 事件时会调用这个函数。这些事件是 {{domxref("UserProximityEvent")}} 类型的,在设备传感器检测到对象变得靠近时触发。

语法

-- cgit v1.2.3-54-g00ecf