compositionend event is fired when the composition of a passage of text has been completed or cancelled (fires with special characters that require a sequence of keys and other inputs such as speech recognition or word suggestion on mobile).
|Target objects|| |
|| ||Focused element processing the composition.|
|| ||The type of event.|
|| ||Does the event normally bubble?|
|| ||Is it possible to cancel the event?|
||The original string being edited, otherwise the empty string. Read only.|
||The language code for the composition event, if available; otherwise, the empty string. Read only.|
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Basic support||(Yes)||(Yes)||9.0 (9.0)||(Yes)||No support||?|
|Feature||Android||Edge||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||(Yes)||(Yes)||9.0 (9.0)||?||?||No support|
 The event was fired in versions of Gecko before 9.0, but didn't have the DOM Level 3 attributes and methods. Gecko doesn't support the
locale attribute for trusted events yet. However, this value can be set via
initCompositionEvent() when creating untrusted events.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.