Skip to content

Commit

Permalink
Update 013-Eventlistener.md
Browse files Browse the repository at this point in the history
  • Loading branch information
harshvardhan614 authored Oct 11, 2021
1 parent 80f4077 commit c7d59f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions javascript/013-Eventlistener.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ tags: Javascript, es6, Event,function
date: 2021-11-10 10:30:39 +0200
keywords: Javascript, es6, Event,function
categories: Javascript
cover: ../path_to_thumbnail_image
author: Author Name
cover:
author: Harshvardhan Rathore
meta-description: brief overview of the blog entry (SEO optimization)
---

Expand Down Expand Up @@ -73,4 +73,4 @@ You can add many event handlers to one element.
body.removeEventListener('click', bodyClickHandler);
// on each click of the page, you will no longer see a message
```
we use the removeEventListener method correctly. This time when a click event occurs, removeEventListener will remove the function bodyClickHandler which effectively eliminates the listener, and no clicks will generate a message.
we use the removeEventListener method correctly. This time when a click event occurs, removeEventListener will remove the function bodyClickHandler which effectively eliminates the listener, and no clicks will generate a message.

0 comments on commit c7d59f0

Please sign in to comment.