From 220a7d23b0755acc06146c1262aa09ba22d6e3b1 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:05:52 -0700 Subject: Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017) This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71. --- 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') 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 0e91487f8f..254ceea752 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 属性代表一个 {{event("Event_handlers")}}, 当触发 {{event("userproximity")}} 事件时会调用这个函数。这些事件是 {{domxref("UserProximityEvent")}} 类型的,在设备传感器检测到对象变得靠近时触发。

+

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

语法

-- cgit v1.2.3-54-g00ecf