aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/orphaned/web/api
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 11:58:24 -0700
committerGitHub <noreply@github.com>2021-05-28 14:58:24 -0400
commit2958ec7e85c9a1182cd81728e3705948a2c39d71 (patch)
tree1cbe65159e7bd5b35114a54df6ac7f3935c4dbc9 /files/zh-cn/orphaned/web/api
parent5e0ce5ef27d3e182d3385b61c6b0197727843b70 (diff)
downloadtranslated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.tar.gz
translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.tar.bz2
translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.zip
replace some domxref macro calls with event macro calls (#1016)
Diffstat (limited to 'files/zh-cn/orphaned/web/api')
-rw-r--r--files/zh-cn/orphaned/web/api/window/onuserproximity/index.html2
1 files changed, 1 insertions, 1 deletions
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
---
<p>{{ ApiRef() }}</p>
-<p><strong><code>Window.onuserproxymity</code></strong> 属性代表一个 {{domxref("EventHandler")}}, 当触发 {{event("userproximity")}} 事件时会调用这个函数。这些事件是 {{domxref("UserProximityEvent")}} 类型的,在设备传感器检测到对象变得靠近时触发。</p>
+<p><strong><code>Window.onuserproxymity</code></strong> 属性代表一个 {{event("Event_handlers")}}, 当触发 {{event("userproximity")}} 事件时会调用这个函数。这些事件是 {{domxref("UserProximityEvent")}} 类型的,在设备传感器检测到对象变得靠近时触发。</p>
<h2 id="语法">语法</h2>