Skip to content

Commit

Permalink
Specify the return value
Browse files Browse the repository at this point in the history
  • Loading branch information
RhnSharma committed Jun 23, 2021
1 parent b1c4633 commit b42579c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/api/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -1486,9 +1486,10 @@ added: v14.5.0
-->

* `event` {Event}
* Returns: {boolean} `true` if either event’s `cancelable` attribute value is
false or its `preventDefault()` method was not invoked, otherwise `false`.

Dispatches the `event` to the list of handlers for `event.type`. The `event`
must be an `Event` object.
Dispatches the `event` to the list of handlers for `event.type`.

The registered event listeners is synchronously invoked in the order they
were registered.
Expand Down

0 comments on commit b42579c

Please sign in to comment.