Skip to content

Commit 2667c87

Browse files
authored
Merge pull request #578 from vvnc/patch-3
Fix a typo
2 parents 70051db + 55d1a1e commit 2667c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/2-events/05-dispatch-events/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ To generate an event, we first need to create an event object.
269269
270270
The generic `Event(name, options)` constructor accepts an arbitrary event name and the `options` object with two properties:
271271
- `bubbles: true` if the event should bubble.
272-
- `cancelable: true` is the `event.preventDefault()` should work.
272+
- `cancelable: true` if the `event.preventDefault()` should work.
273273
274274
Other constructors of native events like `MouseEvent`, `KeyboardEvent` and so on accept properties specific to that event type. For instance, `clientX` for mouse events.
275275

0 commit comments

Comments
 (0)