Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 508165 of Event developer guide

  • Revision slug: Web/Guide/API/DOM/Events
  • Revision title: Event developer guide
  • Revision id: 508165
  • Created:
  • Creator: acuster
  • Is current revision? No
  • Comment

Revision Content

{{draft()}}

Events refers both to a design pattern used for the asynchronous handling of various incidents which occur in the lifetime of a web page and to the naming and characterization of a large number of types of incidents.

The overview page provides an introduction to the design pattern and a summary of the types of incidents which are defined and reacted to by modern web browsers.

The custom events page describes how the event code design pattern can be used in custom code to define new event types emitted by user objects, register listener functions to handle those events, and trigger the events in user code.

Note: This Event Developer Guide needs substantial work. The structure needs to be reorganized and the pages rewritten. Our hope is that eEverything you need to know about events will go under here.

Docs

{{LandingPageListSubpages}}

Revision Source

<p>{{draft()}}</p>
<p>Events refers both to a design pattern used for the asynchronous handling of various incidents which occur in the lifetime of a web page and to the naming and characterization of a large number of types of incidents.</p>
<p>The <a href="/en-US/docs/Web/Guide/API/DOM/Events/Overview_of_Events_and_Handlers">overview page</a> provides an introduction to the design pattern and a summary of the types of incidents which are defined and reacted to by modern web browsers.</p>
<p>The <a href="/en-US/docs/Web/Guide/API/DOM/Events/Creating_and_triggering_events">custom events page</a> describes how the event code design pattern can be used in custom code to define new event types emitted by user objects, register listener functions to handle those events, and trigger the events in user code.</p>
<div class="note">
 <p>Note: This Event Developer Guide needs substantial work. The structure needs to be reorganized and the pages rewritten. Our hope is that eEverything you need to know about events will go under here.</p>
</div>
<h2 id="Docs">Docs</h2>
<p>{{LandingPageListSubpages}}</p>
Revert to this revision