aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/events/compositionend/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/events/compositionend/index.html')
-rw-r--r--files/zh-cn/web/events/compositionend/index.html146
1 files changed, 0 insertions, 146 deletions
diff --git a/files/zh-cn/web/events/compositionend/index.html b/files/zh-cn/web/events/compositionend/index.html
deleted file mode 100644
index 4a023fc0e5..0000000000
--- a/files/zh-cn/web/events/compositionend/index.html
+++ /dev/null
@@ -1,146 +0,0 @@
----
-title: compositionend
-slug: Web/Events/compositionend
-tags:
- - 事件
-translation_of: Web/API/Element/compositionend_event
----
-<p>当文本段落的组成完成或取消时, compositionend 事件将被触发 (具有特殊字符的触发, 需要一系列键和其他输入, 如语音识别或移动中的字词建议)。</p>
-
-<table class="properties">
- <tbody>
- <tr>
- <td>Bubbles</td>
- <td>Yes</td>
- </tr>
- <tr>
- <td>Cancelable</td>
- <td>Yes</td>
- </tr>
- <tr>
- <td>Target objects</td>
- <td>{{domxref("Element")}}</td>
- </tr>
- <tr>
- <td>Interface</td>
- <td>{{domxref("TouchEvent")}}</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Properties">Properties</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Property</th>
- <th scope="col">Type</th>
- <th scope="col">Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td><code>target</code> {{ReadOnlyInline}}</td>
- <td>{{domxref("EventTarget")}}</td>
- <td>聚焦元素处理成分</td>
- </tr>
- <tr>
- <td><code>type</code> {{ReadOnlyInline}}</td>
- <td>{{domxref("DOMString")}}</td>
- <td>事件类型</td>
- </tr>
- <tr>
- <td><code>bubbles</code> {{ReadOnlyInline}}</td>
- <td><code>boolean</code></td>
- <td>事件是否冒泡</td>
- </tr>
- <tr>
- <td><code>cancelable</code> {{ReadOnlyInline}}</td>
- <td><code>boolean</code></td>
- <td>是否可以取消该事件</td>
- </tr>
- <tr>
- <td><code>view</code> {{ReadOnlyInline}}</td>
- <td>{{domxref("WindowProxy")}}</td>
- <td>{{domxref("Document.defaultView")}} (<code>window</code> of the document)</td>
- </tr>
- <tr>
- <td><code>detail</code> {{ReadOnlyInline}}</td>
- <td><code>long</code> (<code>float</code>)</td>
- <td>0.</td>
- </tr>
- <tr>
- <td><code>data </code>{{ReadOnlyInline}}</td>
- <td>{{domxref("DOMString")}} (string)</td>
- <td>正在编辑的原始字符串, 否则为空字符串。只读。</td>
- </tr>
- <tr>
- <td><code>locale</code></td>
- <td>{{domxref("DOMString")}} (string)</td>
- <td>组合事件的语言代码 (如果可用);否则, 为空字符串。只读。</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 该事件是在9.0 之前的Gecko版本中已经可以使用, 但没有 DOM 级3属性和方法。Gecko还不支持给受信任事件的locale属性设置值。但是, 当创建不受信任的事件时,此值可以通过<code>initCompositionEvent()</code> 设置。</p>
-
-<h2 id="Related_events">Related events</h2>
-
-<ul>
- <li>{{Event("compositionstart")}}</li>
- <li>{{Event("compositionupdate")}}</li>
-</ul>