aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/globaleventhandlers/oninput/index.html
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/globaleventhandlers/oninput/index.html
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/globaleventhandlers/oninput/index.html')
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/oninput/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/globaleventhandlers/oninput/index.html b/files/zh-cn/web/api/globaleventhandlers/oninput/index.html
index 6118a8cc8e..f7489cc18a 100644
--- a/files/zh-cn/web/api/globaleventhandlers/oninput/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/oninput/index.html
@@ -8,7 +8,7 @@ translation_of: Web/API/GlobalEventHandlers/oninput
---
<div>{{ ApiRef("HTML DOM") }}</div>
-<p>{{domxref("GlobalEventHandlers")}}mixin的<code><strong>oninput</strong></code>属性是{{domxref("EventHandler")}},它处理{{HTMLElement("input")}},{{HTMLElement("select")}}和 {{HTMLElement("textarea")}} 元素上的 {{event("input")}} 事件。 它还会在{{domxref("HTMLElement.contentEditable", "contenteditable")}} 或 {{domxref("Document.designMode", "designMode")}}打开的元素上处理这些事件。</p>
+<p>{{domxref("GlobalEventHandlers")}}mixin的<code><strong>oninput</strong></code>属性是{{event("Event_handlers")}},它处理{{HTMLElement("input")}},{{HTMLElement("select")}}和 {{HTMLElement("textarea")}} 元素上的 {{event("input")}} 事件。 它还会在{{domxref("HTMLElement.contentEditable", "contenteditable")}} 或 {{domxref("Document.designMode", "designMode")}}打开的元素上处理这些事件。</p>
<div class="blockIndicator note">
<p>注意:与<code>oninput</code>不同的是, {{domxref("GlobalEventHandlers.onchange", "onchange")}} 事件处理程序不一定会针对元素值的每次更改而调用。</p>