MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla

Revision 239574 of Template:EventProperties

  • Revision slug: Template:EventProperties
  • Revision title: Template:EventProperties
  • Revision id: 239574
  • Created:
  • Creator: louisremi
  • Is current revision? No
  • Comment

Revision Content

{{mediawiki.args([$1])}}
Property Type Description
type string The type of event.
target DOM Node The event target (the topmost target in the DOM tree).
currentTarget DOM Node The node that had the event listener attached.

Revision Source

<table class="standard-table"><tbody>
  <tr>
    <td class="header">Property</td>
    <td class="header">Type</td>
    <td class="header">Description</td>
  </tr>
  <tr>
    <td>type</td>
    <td>string</td>
    <td>The type of event.</td>
  </tr>
  <tr>
    <td>target</td>
    <td>DOM Node</td>
    <td>The event target (the topmost target in the DOM tree).</td>
  </tr>
  <tr>
    <td>currentTarget</td>
    <td>DOM Node</td>
    <td>The node that had the event listener attached.</td>
  </tr>
  {{mediawiki.args([$1])}}
</tbody></table>
Revert to this revision