Movatterモバイル変換


[0]ホーム

URL:


  1. 面向开发者的 Web 技术
  2. Web API
  3. Element
  4. compositionend

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in EnglishAlways switch to English

compositionend

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.

当文本段落的组成完成或取消时,compositionend 事件将被触发 (具有特殊字符的触发,需要一系列键和其他输入,如语音识别或移动中的字词建议)。

BubblesYes
CancelableYes
Target objectsElement
InterfaceTouchEvent

Properties

PropertyTypeDescription
target只读EventTarget聚焦元素处理成分
type只读DOMString事件类型
bubbles只读boolean事件是否冒泡
cancelable只读boolean是否可以取消该事件
view只读WindowProxyDocument.defaultView (window of the document)
detail只读long (float)0.
data只读DOMString (string)正在编辑的原始字符串,否则为空字符串。只读。
localeDOMString (string)组合事件的语言代码 (如果可用);否则,为空字符串。只读。

规范

Specification
UI Events
# event-type-compositionend

Browser compatibility

Related events

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp