commit
b0464bb32c
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ element.removeEventListener(event, handler, [options]);
|
||||||
````warn header="Removal requires the same function"
|
````warn header="Removal requires the same function"
|
||||||
To remove a handler we should pass exactly the same function as was assigned.
|
To remove a handler we should pass exactly the same function as was assigned.
|
||||||
|
|
||||||
That doesn't work:
|
This doesn't work:
|
||||||
|
|
||||||
```js no-beautify
|
```js no-beautify
|
||||||
elem.addEventListener( "click" , () => alert('Thanks!'));
|
elem.addEventListener( "click" , () => alert('Thanks!'));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue