Gecko-Specific DOM Events

  • Revision slug: Gecko-Specific_DOM_Events
  • Revision title: Gecko-Specific DOM Events
  • Revision id: 321337
  • Created:
  • Creator: louisremi
  • Is current revision? No
  • Comment

Revision Content

DOMFrameContentLoaded

Same as {{ domeventxref("DOMContentLoaded") }}, but also fired for enclosed frames.

DOMWindowClose

Fired when the window is about to be closed by {{ domxref("window.close()") }}. See {{ Bug(103452) }}.

{{ h1_gecko_minversion("MozAfterPaint", "1.9.1") }}

See MozAfterPaint event page for the detail.

DOMMouseScroll

See {{ domeventxref("DOMMouseScroll") }} for the detail.

MozMousePixelScroll

{{ fx_minversion_note(3.5, "The MozMousePixelScroll event was added in Firefox 3.5 (Gecko 1.9.1).") }}

See {{ domeventxref("MozMousePixelScroll") }} for the detail.

Mouse gesture events

See Mouse gesture events for documentation on the following events:

  • MozSwipeGesture
  • MozMagnifyGestureStart
  • MozMagnifyGestureUpdate
  • MozMagnifyGesture
  • MozRotateGestureStart
  • MozRotateGestureUpdate
  • MozRotateGesture

Others

There appear to be many other sparsely documented events. See {{ Bug(286013) }}:

  • DOMLinkAdded (when a <link/> element is added to the page; e.g., used internally for processing RSS)
  • DOMLinkRemoved
  • DOMMetaAdded
  • DOMMetaRemoved
  • DOMWillOpenModalDialog
  • DOMModalDialogClosed
  • fullscreen
  • PopupWindow
  • DOMTitleChanged
  • PluginNotFound
  • ValueChange
  • DOMMenuItemActive
  • windowZLevel
  • DOMWindowCreated

Example

window.addEventListener("DOMFrameContentLoaded", myeventhandler, true);

See also

{{ languages( { "ja": "ja/Gecko-Specific_DOM_Events" } ) }}

Revision Source

<h2 id="DOMFrameContentLoaded">DOMFrameContentLoaded</h2>
<p>Same as {{ domeventxref("DOMContentLoaded") }}, but also fired for enclosed frames.</p>
<h2 id="DOMWindowClose">DOMWindowClose</h2>
<p>Fired when the window is about to be closed by {{ domxref("window.close()") }}. See {{ Bug(103452) }}.</p>
<p>{{ h1_gecko_minversion("MozAfterPaint", "1.9.1") }}</p>
<p>See <a href="/en-US/docs/Mozilla_event_reference/MozAfterPaint" title="/en-US/docs/Mozilla_event_reference/MozAfterPaint"><code>MozAfterPaint </code></a>event page for the detail.</p>
<h2 id="DOMMouseScroll">DOMMouseScroll</h2>
<p>See {{ domeventxref("DOMMouseScroll") }} for the detail.</p>
<h2 id="MozMousePixelScroll">MozMousePixelScroll</h2>
<p>{{ fx_minversion_note(3.5, "The <code>MozMousePixelScroll</code> event was added in Firefox 3.5 (Gecko 1.9.1).") }}</p>
<p>See {{ domeventxref("MozMousePixelScroll") }} for the detail.</p>
<h2 id="Mouse_gesture_events"><span class="title">Mouse gesture events</span></h2>
<p>See <a href="en/DOM/Mouse_gesture_events" title="en/DOM/Mouse_gesture_events">Mouse gesture events</a> for documentation on the following events:</p>
<ul>
  <li>MozSwipeGesture</li>
  <li>MozMagnifyGestureStart</li>
  <li>MozMagnifyGestureUpdate</li>
  <li>MozMagnifyGesture</li>
  <li>MozRotateGestureStart</li>
  <li>MozRotateGestureUpdate</li>
  <li>MozRotateGesture</li>
</ul>
<h2 id="Others">Others</h2>
<p>There appear to be many other sparsely documented events. See {{ Bug(286013) }}:</p>
<ul>
  <li>DOMLinkAdded (when a &lt;link/&gt; element is added to the page; e.g., used internally for processing RSS)</li>
  <li>DOMLinkRemoved</li>
  <li>DOMMetaAdded</li>
  <li>DOMMetaRemoved</li>
  <li>DOMWillOpenModalDialog</li>
  <li>DOMModalDialogClosed</li>
  <li>fullscreen</li>
  <li>PopupWindow</li>
  <li>DOMTitleChanged</li>
  <li>PluginNotFound</li>
  <li>ValueChange</li>
  <li>DOMMenuItemActive</li>
  <li>windowZLevel</li>
  <li>DOMWindowCreated</li>
</ul>
<h2 id="Example">Example</h2>
<pre class="brush: js">
window.addEventListener("DOMFrameContentLoaded", myeventhandler, true);
</pre>
<h2 id="See_also">See also</h2>
<ul>
  <li><a href="/en/DOM/element#Event_Handlers" title="en/DOM/element#Event_Handlers">DOM Reference: Event Handlers</a> (on*)</li>
  <li><a href="/en/DOM/DOM_event_reference" title="en/DOM/DOM_event_reference">DOM event reference</a></li>
  <li><a href="/en/XUL/Events" title="en/XUL/Events">XUL Events</a></li>
</ul>
<p>{{ languages( { "ja": "ja/Gecko-Specific_DOM_Events" } ) }}</p>
Revert to this revision