compositionupdate

  • Revision slug: Mozilla_event_reference/compositionupdate
  • Revision title: compositionupdate
  • Revision id: 290346
  • Created:
  • Creator: louisremi
  • Is current revision? No
  • Comment

Revision Content

The compositionupdate event is fired when a character is added to a passage of text being composed.

General info

Specification
DOM L3
Interface
TouchEvent
Synchronicity
synchronous
Bubbles
Yes
Cancelable
Yes
Target
Document, Element
Default Action
None

Properties

{{OpenEventProperties("Focused element processing the composition, null if not accessible.")}}{{UIEventProperties()}}{{CompositionEventProperties("The string comprising the current results of the composition session, which may be the empty string if the content has been deleted.")}}{{CloseEventProperties()}}

Revision Source

<p>The <code>compositionupdate</code> event is fired when a character is added to a passage of text being composed.</p>
<h2 id="General_info">General info</h2>
<dl>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Specification</dt>
  <dd style="margin: 0 0 0 120px;">
    <a class="external" href="http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionupdate">DOM L3</a></dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Interface</dt>
  <dd style="margin: 0 0 0 120px;">
    TouchEvent</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Synchronicity</dt>
  <dd style="margin: 0 0 0 120px;">
    synchronous</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Bubbles</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Cancelable</dt>
  <dd style="margin: 0 0 0 120px;">
    Yes</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Target</dt>
  <dd style="margin: 0 0 0 120px;">
    Document, Element</dd>
  <dt style="clear: left; float: left; text-align: right; width: 120px;">
    Default Action</dt>
  <dd style="margin: 0 0 0 120px;">
    None</dd>
</dl>
<h2 id="Properties">Properties</h2>
{{OpenEventProperties("Focused element processing the composition, <code>null</code> if not accessible.")}}{{UIEventProperties()}}{{CompositionEventProperties("The string comprising the current results of the composition session, which may be the empty string if the content has been deleted.")}}{{CloseEventProperties()}}
Revert to this revision