Skip to content

Commit

Permalink
#331 remove usecapture argument and add link to MDN in addEventListen…
Browse files Browse the repository at this point in the history
…er section
  • Loading branch information
Seyoung committed Oct 18, 2016
1 parent 1871c27 commit 0436dae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsweb/slides/animevents.html
Expand Up @@ -61,8 +61,8 @@ <h2>Why we need events</h2>

<section>
<h2>Adding Event Listeners</h2>
<p>In IE 9+ (and all other browsers):</p>
<pre><code class="javascript syntax">domNode.addEventListener(eventType, eventListener, useCapture);
<p><a href='https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener'>In IE 9+ (and all other browsers):</a></p>
<pre><code class="javascript syntax">domNode.addEventListener(eventType, eventListener);
</code></pre>

<pre><code class="html xml">&lt;button id=&quot;counter&quot;&gt;0&lt;/button&gt;
Expand Down

0 comments on commit 0436dae

Please sign in to comment.