aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/mediadevices/ondevicechange
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/web/api/mediadevices/ondevicechange
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/web/api/mediadevices/ondevicechange')
-rw-r--r--files/zh-cn/web/api/mediadevices/ondevicechange/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/mediadevices/ondevicechange/index.html b/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
index 4c9c9cb0e0..f099d690ff 100644
--- a/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
+++ b/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
@@ -5,7 +5,7 @@ translation_of: Web/API/MediaDevices/ondevicechange
---
<p>{{APIRef("Media Capture and Streams")}}</p>
-<p><span class="seoSummary"> <strong><code>MediaDevices.ondevicechange</code></strong> 属性是一种{{domxref("EventHandler")}},当{{domxref("MediaDevices")}} 接口的{{event("devicechange")}}事件被触发时会被调用. 不论{{Glossary("user agent")}}媒体设备的设置是否可用, 或者网站或者应用发生变了都会触发。无论何时你都可以使用 {{domxref("MediaDevices.enumerateDevices", "enumerateDevices()")}}  去更新可用设备列表.</span></p>
+<p><span class="seoSummary"> <strong><code>MediaDevices.ondevicechange</code></strong> 属性是一种{{event("Event_handlers")}},当{{domxref("MediaDevices")}} 接口的{{event("devicechange")}}事件被触发时会被调用. 不论{{Glossary("user agent")}}媒体设备的设置是否可用, 或者网站或者应用发生变了都会触发。无论何时你都可以使用 {{domxref("MediaDevices.enumerateDevices", "enumerateDevices()")}}  去更新可用设备列表.</span></p>
<h2 id="Syntax">Syntax</h2>