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).
Focused element processing the composition.
The type of event.
Does the event normally bubble?
Is it possible to cancel the event?
window of the document).
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.
Firefox Mobile (Gecko)
? 9.0 (9.0)
The event was fired in versions of Gecko before 9.0, but didn't have the DOM Level 3 attributes and methods.
Note: Gecko doesn't support the
locale attribute for trusted events yet. However, web developers can set this value via
initCompositionEvent() when creating untrusted events.
Document Tags and Contributors
Last updated by:
May 15, 2013, 8:27:40 AM