Skip to content

Commit

Permalink
doc: add options parameter to eventTarget.removeEventListener
Browse files Browse the repository at this point in the history
options parameter is available for eventTarget.removeEventListener,
but it's not described.

PR-URL: #45667
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
deokjinkim authored and danielleadams committed Jan 3, 2023
1 parent 496a528 commit 8a1e556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/events.md
Expand Up @@ -1974,7 +1974,7 @@ Dispatches the `event` to the list of handlers for `event.type`.
The registered event listeners is synchronously invoked in the order they
were registered.

#### `eventTarget.removeEventListener(type, listener)`
#### `eventTarget.removeEventListener(type, listener[, options])`

<!-- YAML
added: v14.5.0
Expand Down

0 comments on commit 8a1e556

Please sign in to comment.