You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-ui/2-events/05-dispatch-events/article.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -269,7 +269,7 @@ To generate an event, we first need to create an event object.
269
269
270
270
The generic `Event(name, options)` constructor accepts an arbitrary event name and the `options` object with two properties:
271
271
- `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.
273
273
274
274
Other constructors of native events like `MouseEvent`, `KeyboardEvent` and so on accept properties specific to that event type. For instance, `clientX` for mouse events.
0 commit comments